diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> | 2012-08-29 16:22:25 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2012-08-30 10:42:12 +0200 |
commit | f0bb19138107f35c3c8bbc30ea01003bc028ff7e (patch) | |
tree | 25a3023a58d3e91e42d2a06c7aa8e35da66f4f0b /meta-systemd/recipes-core/systemd/systemd-systemctl-native/systemctl | |
parent | f9f3477f68fe980e72d77d5095a74acf182938d6 (diff) | |
download | meta-openembedded-contrib-f0bb19138107f35c3c8bbc30ea01003bc028ff7e.tar.gz |
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>
Diffstat (limited to 'meta-systemd/recipes-core/systemd/systemd-systemctl-native/systemctl')
-rwxr-xr-x | meta-systemd/recipes-core/systemd/systemd-systemctl-native/systemctl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-systemd/recipes-core/systemd/systemd-systemctl-native/systemctl b/meta-systemd/recipes-core/systemd/systemd-systemctl-native/systemctl index 5c21e7f2ed..d71c7eda8b 100755 --- a/meta-systemd/recipes-core/systemd/systemd-systemctl-native/systemctl +++ b/meta-systemd/recipes-core/systemd/systemd-systemctl-native/systemctl @@ -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" |