mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-14 17:59:59 +00:00
meta-systemd: systemd-systemctl-native: Also add support for WantedBy=*.service
Right now there was only WantedBy=*.target, which prevented some services from beeing installed, which prevent them from running at boot. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
committed by
Martin Jansa
parent
f9f3477f68
commit
f0bb191381
@@ -81,7 +81,7 @@ for service in $services; do
|
||||
wanted_by=$(grep WantedBy $ROOT/$service_file \
|
||||
| sed 's,WantedBy=,,g' \
|
||||
| tr ',' '\n' \
|
||||
| grep '\.target$')
|
||||
| grep '\(\.target$\)\|\(\.service$\)')
|
||||
|
||||
for r in $wanted_by; do
|
||||
echo "WantedBy=$r found in $service"
|
||||
|
||||
Reference in New Issue
Block a user