mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 21:56: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
|
||||
test $? == 0 && msg_done || msg_fail
|
||||
;;
|
||||
|
||||
|
||||
stop)
|
||||
true
|
||||
;;
|
||||
|
||||
reallystop)
|
||||
msg_begin "Stopping watchdog"
|
||||
killall watchdog &>/dev/null
|
||||
test $? == 0 && msg_done || msg_fail
|
||||
;;
|
||||
|
||||
*)
|
||||
echo $"Usage: $0 {start|stop}"
|
||||
echo $"Usage: $0 {start|reallystop}"
|
||||
exit 1
|
||||
esac
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user