mirror of
https://github.com/openwrt/routing.git
synced 2025-12-21 21:24:32 +04: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:
@@ -88,6 +88,9 @@ no_neighbors() {
|
|||||||
log "Naywatch Started!"
|
log "Naywatch Started!"
|
||||||
|
|
||||||
neighbors() {
|
neighbors() {
|
||||||
|
if [ $ACTIVE -eq 0 ]; then
|
||||||
|
log "Naywatch Activated!"
|
||||||
|
fi
|
||||||
ACTIVE=1
|
ACTIVE=1
|
||||||
NO_NEIGHBORS_COUNT=0
|
NO_NEIGHBORS_COUNT=0
|
||||||
if [ $USE_WATCHDOG -eq 1 ]; then
|
if [ $USE_WATCHDOG -eq 1 ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user