diff options
Diffstat (limited to 'meta-oe/recipes-core/systemd/systemd-systemctl-native/systemctl')
-rwxr-xr-x | meta-oe/recipes-core/systemd/systemd-systemctl-native/systemctl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/meta-oe/recipes-core/systemd/systemd-systemctl-native/systemctl b/meta-oe/recipes-core/systemd/systemd-systemctl-native/systemctl index 1fc77fd92b..54c1a18bf3 100755 --- a/meta-oe/recipes-core/systemd/systemd-systemctl-native/systemctl +++ b/meta-oe/recipes-core/systemd/systemd-systemctl-native/systemctl @@ -49,3 +49,11 @@ for r in $wanted_by; do ln -s $service_file $ROOT/etc/systemd/system/$r.wants echo "Enabled $service for $wanted_by." done + +# call us for the other required scripts +also=$(grep Also $ROOT/$service_file \ + | sed 's,Also=,,g' \ + | tr ',' '\n') +for a in $also; do + $0 --root=$ROOT enable $a +done |