mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 22:26:31 +00:00
do not stop the watchdog at reboot/poweroff
This commit is contained in:
parent
d94ea478df
commit
56d7653353
@ -10,15 +10,19 @@ case "$1" in
|
|||||||
watchdog -t 5 /dev/watchdog
|
watchdog -t 5 /dev/watchdog
|
||||||
test $? == 0 && msg_done || msg_fail
|
test $? == 0 && msg_done || msg_fail
|
||||||
;;
|
;;
|
||||||
|
|
||||||
stop)
|
stop)
|
||||||
|
true
|
||||||
|
;;
|
||||||
|
|
||||||
|
reallystop)
|
||||||
msg_begin "Stopping watchdog"
|
msg_begin "Stopping watchdog"
|
||||||
killall watchdog &>/dev/null
|
killall watchdog &>/dev/null
|
||||||
test $? == 0 && msg_done || msg_fail
|
test $? == 0 && msg_done || msg_fail
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
echo $"Usage: $0 {start|stop}"
|
echo $"Usage: $0 {start|reallystop}"
|
||||||
exit 1
|
exit 1
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user