mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 08:40:24 +00:00
Merge branch 'master' of github.com:webmin/webmin
This commit is contained in:
@@ -8,7 +8,7 @@ $product = $ARGV[0] || "webmin";
|
||||
$ucproduct = ucfirst($product);
|
||||
|
||||
$< == 0 || die "atboot.pl must be run as root";
|
||||
my $kill = &has_command("kill");
|
||||
my $kill = &has_command("kill") || '/bin/kill';
|
||||
|
||||
if ($init_mode eq "osx") {
|
||||
# Darwin System
|
||||
|
||||
@@ -21,7 +21,7 @@ if ($product) {
|
||||
unlink("$p/$product");
|
||||
}
|
||||
my $temp = &transname();
|
||||
my $killcmd = &has_command('kill');
|
||||
my $killcmd = &has_command('kill') || '/bin/kill';
|
||||
$ENV{'WEBMIN_KILLCMD'} = $killcmd;
|
||||
©_source_dest("$root_directory/webmin-systemd", "$temp");
|
||||
my $lref = &read_file_lines($temp);
|
||||
|
||||
Reference in New Issue
Block a user