summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Hainke <vincent@systemli.org>2022-06-10 08:46:28 +0200
committerNick Hainke <vincent@systemli.org>2022-06-10 10:34:10 +0200
commitbdefc8348b1195114832f875678f267749d4eedf (patch)
tree9c5e155c8ec840f8462a4582b18c7b013772417a
parentba06292f318ced1fb7eaa587d927cf491403edb6 (diff)
naywatch: add log when naywatch activates
Naywatch now prints naywatch: Naywatch Activated! when becoming active. Signed-off-by: Nick Hainke <vincent@systemli.org> (cherry picked from commit 09d5ceb9230b907029a3e09858ef181ff85e3913)
-rw-r--r--naywatch/files/naywatch.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/naywatch/files/naywatch.sh b/naywatch/files/naywatch.sh
index 78c8dd4..73f5ff0 100644
--- 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