/[smeserver]/rpms/e-smith-base/sme10/e-smith-base-5.8.0-bz11231-systemd-preset-all-workaround.patch
ViewVC logotype

Diff of /rpms/e-smith-base/sme10/e-smith-base-5.8.0-bz11231-systemd-preset-all-workaround.patch

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

Revision 1.1 by jpp, Sun Dec 6 04:51:59 2020 UTC Revision 1.2 by jpp, Sun Dec 6 20:02:14 2020 UTC
# Line 118  diff -Nur e-smith-base-5.8.0.old/root/et Line 118  diff -Nur e-smith-base-5.8.0.old/root/et
118  +                my $wanted = `grep -P '^WantedBy=.*sme-server.target' /usr/lib/systemd/system/$service*  /etc/systemd/system/$service* -rsh` ;  +                my $wanted = `grep -P '^WantedBy=.*sme-server.target' /usr/lib/systemd/system/$service*  /etc/systemd/system/$service* -rsh` ;
119  +                chomp $wanted;  +                chomp $wanted;
120  +                push(@WantedBy , $service)  unless ( $wanted eq "") ;  +                push(@WantedBy , $service)  unless ( $wanted eq "") ;
121  +               print "want $service \n" unless ( $wanted eq "") ;  +                #print "want $service \n" unless ( $wanted eq "") ;
122  +            }  +            }
123  +  +
124  +       }  +       }


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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