mirror of
https://git.openwrt.org/feed/routing.git
synced 2025-01-07 03:06:53 +08:00
naywatch: add log when naywatch activates
Naywatch now prints naywatch: Naywatch Activated! when becoming active. Signed-off-by: Nick Hainke <vincent@systemli.org>
This commit is contained in:
parent
e2d72c5775
commit
09d5ceb923
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user