/[smeserver]/rpms/e-smith-base/sme10/e-smith-base-5.8.0.bz9641.fix-startup-path.patch
ViewVC logotype

Annotation of /rpms/e-smith-base/sme10/e-smith-base-5.8.0.bz9641.fix-startup-path.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (hide annotations) (download)
Sun Jun 6 20:38:57 2021 UTC (3 years, 5 months ago) by jpp
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
5.8.1

1 unnilennium 1.1 --- e-smith-base-5.8.0/root/etc/e-smith/events/actions/fix-startup.old 2016-07-04 03:40:20.000000000 -0400
2     +++ e-smith-base-5.8.0/root/etc/e-smith/events/actions/fix-startup 2016-07-16 10:32:57.611172421 -0400
3     @@ -21,22 +21,16 @@
4     my $sv=$service->{'name'};
5     next if $sv eq 'bootstrap-console';
6     $sv= $equivalent->{$sv} || $sv;
7     -#print "$sv: ";
8     if (-e "/lib/systemd/system/multi-user.target.wants/$sv.service")
9     {
10     - #print "systemd (lib) ";
11     system(qw(systemctl disable), $sv);
12     }
13     elsif (-e "/etc/systemd/system/multi-user.target.wants/$sv.service")
14     {
15     - #print "systemd (etc)";
16     system(qw(systemctl disable), $sv);
17     }
18     elsif (-e "/etc/init.d/$sv")
19     {
20     - #print "chkconfig $sv off ";
21     - system("chkconfig", $sv, "off");
22     - #print "\n";
23     + system("/usr/sbin/chkconfig", $sv, "off");
24     }
25     - #else {print "\n";}
26     }

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed