New generated recipe: do not try to execute "systemctl daemon-reload"
when creating the image
Change-Id: I62ee3e46df21bec61de60451a179ec79265aac5b
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
#!/bin/sh -e
[ "x\$D" == "x" ] && ldconfig
- systemctl daemon-reload
+ [ "x\$D" == "x" ] && systemctl daemon-reload
if [ $1 == 1 ]; then
systemctl restart nfc-manager-neard.service
fi
if [ $1 == 0 ]; then
systemctl stop nfc-manager-neard.service
fi
- systemctl daemon-reload
+ [ "x\$D" == "x" ] && systemctl daemon-reload
}