1
0
mirror of https://github.com/j-a-n/raspberrymatic-addon-rmupdate.git synced 2023-10-10 11:37:40 +00:00
This commit is contained in:
Jan Schneider
2018-01-21 10:22:12 +01:00
parent 2541cc6dee
commit 200ee61a7c
2 changed files with 3 additions and 9 deletions

View File

@@ -6,13 +6,7 @@ ADDON_DIR=/usr/local/addons/${ADDON_NAME}
RCD_DIR=${CONFIG_DIR}/rc.d
case "$1" in
""|start)
# Remove stale lockfile
[ -e /usr/local/addons/rmupdate/var/install.lock ] && rm /usr/local/addons/rmupdate/var/install.lock
echo "Done."
;;
stop|restart)
stop|start|restart)
echo "Nothing to do."
;;
@@ -20,7 +14,7 @@ case "$1" in
version=$(cat ${ADDON_DIR}/VERSION)
echo "Info: <b>${ADDON_NAME} addon</b><br>"
echo "Info: <a href='https://github.com/j-a-n/raspberrymatic-addon-rmupdate'>https://github.com/j-a-n/raspberrymatic-addon-rmupdate</a>"
echo "Name: RaspberryMatic update"
echo "Name: RaspberryMatic Update"
echo "Version: ${version}"
echo "Operations: uninstall"
echo "Config-Url: /addons/${ADDON_NAME}"