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:31:05 +0000 (10:31 +0200)
commit6166db322471022cd988590660f7decb65bd1f9d
treebd3f6bbffa1d5b9756eeb5172520ce7c3de904df
parentc96b10188bcdc58b5c1198a8d3839fbe45274279
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