mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
Merge pull request #4374 from vpeter4/bin-addons
systemd-addon-wrapper: make binary addons executable ...
This commit is contained in:
commit
33cf42bd1a
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user