Merge pull request #4374 from vpeter4/bin-addons

systemd-addon-wrapper: make binary addons executable ...
This commit is contained in:
Lukas Rusak 2015-10-10 10:14:46 -07:00
commit 33cf42bd1a

View File

@ -30,6 +30,7 @@ if [ -f "/storage/.kodi/addons/$1/system.d/$1.service" ] ; then
else else
# disable = false: setup # disable = false: setup
systemctl enable "/storage/.kodi/addons/$1/system.d/$1.service" systemctl enable "/storage/.kodi/addons/$1/system.d/$1.service"
chmod +x "/storage/.kodi/addons/$1/bin"/*
systemctl start "$1.service" systemctl start "$1.service"
fi fi
fi fi