Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
unix
FI printers over Samba on Linux
Commits
f953fbb7
Commit
f953fbb7
authored
Feb 16, 2021
by
Martin Klimes (k11m1)
Browse files
fixed path
parent
6f66ba27
Changes
1
Hide whitespace changes
Inline
Side-by-side
install.pl
View file @
f953fbb7
...
...
@@ -290,10 +290,11 @@ sub check_cron {
chomp
(
my
$answer
=
<
STDIN
>
);
if
(
$answer
eq
'
Y
'
||
$answer
eq
'
y
'
||
$answer
eq
'')
{
print
"
CRON SHALL BE INSTALLED
\n
";
print
"
[INFO] Installing cron.
\n
";
copy
("
cron.pl
",
"
/etc/cron.weekly/fi_printers_cron.pl
")
or
die
"
Could not copy cron script
\n
";
chmod
0700
,
"
/etc/cron.weekly/fi_printers_cron.pl
"
chmod
0700
,
"
/etc/cron.weekly/fi_printers_cron.pl
";
print
"
[INFO] Cron installed
\n
";
}
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment