Use chkconfig off instead of --del

This commit is contained in:
Jamie Cameron
2010-02-13 15:26:19 -08:00
parent c8e2443022
commit 48892fd8fd

View File

@@ -863,7 +863,7 @@ if ($init_mode eq "init") {
}
elsif (&has_command("chkconfig") && !$config{'no_chkconfig'} && @chk) {
# Call chkconfig to remove the links
&system_logged("chkconfig --del ".quotemeta($_[0]));
&system_logged("chkconfig ".quotemeta($_[0])." off");
}
else {
# Just unlink the S links