1
0
mirror of https://github.com/j-a-n/raspberrymatic-addon-rmupdate.git synced 2023-10-10 13:37:40 +02:00

remove stale lockfile on boot

This commit is contained in:
Jan Schneider 2017-06-20 23:18:21 +02:00
parent 1c830a5538
commit 16c582b369

View File

@ -7,7 +7,9 @@ RCD_DIR=${CONFIG_DIR}/rc.d
case "$1" in
""|start)
echo "Nothing to do."
# Remove stale lockfile
[ -e /usr/local/addons/rmupdate/var/install.lock ] && rm /usr/local/addons/rmupdate/var/install.lock
echo "Done."
;;
stop|restart)