mirror of
https://github.com/webmin/webmin.git
synced 2025-07-23 00:30:33 +00:00
Fix to clear upstart script (CentOS 6) [build]
This commit is contained in:
@ -41,7 +41,7 @@ elsif ($init_mode eq "local") {
|
|||||||
&close_tempfile(LOCAL);
|
&close_tempfile(LOCAL);
|
||||||
print STDERR "Deleted from bootup script $config{'local_script'}\n";
|
print STDERR "Deleted from bootup script $config{'local_script'}\n";
|
||||||
}
|
}
|
||||||
elsif ($init_mode eq "init") {
|
elsif ($init_mode eq "init" || $init_mode eq "upstart") {
|
||||||
# Delete bootup action
|
# Delete bootup action
|
||||||
foreach (&action_levels('S', $product)) {
|
foreach (&action_levels('S', $product)) {
|
||||||
/^(\S+)\s+(\S+)\s+(\S+)$/;
|
/^(\S+)\s+(\S+)\s+(\S+)$/;
|
||||||
|
Reference in New Issue
Block a user