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:
e2d72c5
)
naywatch: add log when naywatch activates
author
Nick Hainke
<vincent@systemli.org>
Fri, 10 Jun 2022 06:46:28 +0000
(08:46 +0200)
committer
Nick Hainke
<vincent@systemli.org>
Fri, 10 Jun 2022 08:25:43 +0000
(10:25 +0200)
Naywatch now prints
naywatch: Naywatch Activated!
when becoming active.
Signed-off-by: Nick Hainke <vincent@systemli.org>
naywatch/files/naywatch.sh
patch
|
blob
|
history
diff --git
a/naywatch/files/naywatch.sh
b/naywatch/files/naywatch.sh
index 78c8dd42cc4b4f92b1f357335e0a786dbedd6b50..73f5ff056085d3373efb44c4df90eb090ff29cb3 100644
(file)
--- a/
naywatch/files/naywatch.sh
+++ b/
naywatch/files/naywatch.sh
@@
-88,6
+88,9
@@
no_neighbors() {
log "Naywatch Started!"
neighbors() {
+ if [ $ACTIVE -eq 0 ]; then
+ log "Naywatch Activated!"
+ fi
ACTIVE=1
NO_NEIGHBORS_COUNT=0
if [ $USE_WATCHDOG -eq 1 ]; then