projects
/
feed
/
routing.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c96b101
)
naywatch: fix reboot_now
author
Nick Hainke
<vincent@systemli.org>
Fri, 1 Apr 2022 08:16:56 +0000
(10:16 +0200)
committer
Nick Hainke
<vincent@systemli.org>
Fri, 1 Apr 2022 08:31:05 +0000
(10:31 +0200)
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
patch
|
blob
|
history
diff --git
a/naywatch/files/naywatch.sh
b/naywatch/files/naywatch.sh
index 362746493e885e6d9a2f43c63d76f49eaecdb1a0..78c8dd42cc4b4f92b1f357335e0a786dbedd6b50 100644
(file)
--- a/
naywatch/files/naywatch.sh
+++ b/
naywatch/files/naywatch.sh
@@
-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
}