naywatch: fix reboot_now
authorNick Hainke <vincent@systemli.org>
Fri, 1 Apr 2022 08:16:56 +0000 (10:16 +0200)
committerNick Hainke <vincent@systemli.org>
Fri, 1 Apr 2022 08:32:07 +0000 (10:32 +0200)
commit76e044bd514310c7a93f8e372374cb414f721980
tree2d232011c20349fd1cbb9f9cfe6ca4079885c188
parentbf03ceb2024611e430228a8c237e7bf88c1c6c1e
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>
(cherry picked from commit 65f747a8bcf19e0271e6bbe04c2432f9a93cc406)
naywatch/files/naywatch.sh