naywatch: fix reboot_now

Naywatch should first try to reboot normally, and if that does not work
do a hard reboot. However, the hard reboot was never called.

Signed-off-by: Nick Hainke <vincent@systemli.org>
This commit is contained in:
Nick Hainke 2022-04-01 10:16:56 +02:00
parent 5702d2e40b
commit 65f747a8bc
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ no_neighbors() {
fi
if [ $USE_WATCHDOG -eq 0 ] && [ $NO_NEIGHBORS_COUNT -gt $MIN_KICK ]; then
reboot_now
reboot_now 10
fi
}