84 |
+ next unless -e "/usr/lib/systemd/system/$servicename" || -e "/etc/lib/systemd/system/$servicename"; |
+ next unless -e "/usr/lib/systemd/system/$servicename" || -e "/etc/lib/systemd/system/$servicename"; |
85 |
+ # we could also filter out there services that have already WantedBy=.*sme-server.target in their unit file or in a drop-in |
+ # we could also filter out there services that have already WantedBy=.*sme-server.target in their unit file or in a drop-in |
86 |
+ |
+ |
87 |
+ $OUT .= "$servicename " if ($status eq "enabled"); |
+ $OUT .= "$servicename " if ($status eq "enable"); |
88 |
+ |
+ |
89 |
+ } |
+ } |
90 |
+ |
+ |