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:
parent
1c830a5538
commit
16c582b369
4
rmupdate
4
rmupdate
@ -7,7 +7,9 @@ RCD_DIR=${CONFIG_DIR}/rc.d
|
|||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
""|start)
|
""|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)
|
stop|restart)
|
||||||
|
Loading…
Reference in New Issue
Block a user