--- e-smith-base-5.8.0/root/etc/e-smith/events/actions/fix-startup.old 2016-07-04 03:40:20.000000000 -0400 +++ e-smith-base-5.8.0/root/etc/e-smith/events/actions/fix-startup 2016-07-16 10:32:57.611172421 -0400 @@ -21,22 +21,16 @@ my $sv=$service->{'name'}; next if $sv eq 'bootstrap-console'; $sv= $equivalent->{$sv} || $sv; -#print "$sv: "; if (-e "/lib/systemd/system/multi-user.target.wants/$sv.service") { - #print "systemd (lib) "; system(qw(systemctl disable), $sv); } elsif (-e "/etc/systemd/system/multi-user.target.wants/$sv.service") { - #print "systemd (etc)"; system(qw(systemctl disable), $sv); } elsif (-e "/etc/init.d/$sv") { - #print "chkconfig $sv off "; - system("chkconfig", $sv, "off"); - #print "\n"; + system("/usr/sbin/chkconfig", $sv, "off"); } - #else {print "\n";} }