Use chkconfig off instead of --del
authorJamie Cameron <jcameron@webmin.com>
Sat, 13 Feb 2010 23:26:19 +0000 (15:26 -0800)
committerJamie Cameron <jcameron@webmin.com>
Sat, 13 Feb 2010 23:26:19 +0000 (15:26 -0800)
init/init-lib.pl

index 8c98792..a73f4d0 100755 (executable)
@@ -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