mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-12-17 17:31:27 +00:00
-Reduced the BDR->DR swap time. -Monitor the cloud connection and start/stop APC based on the connection stability. Signed-off-by: Chaitanya Godavarthi <chaitanya.kiran@netexperience.com>
8 lines
120 B
Bash
Executable File
8 lines
120 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if="$(uci get network.wan.ifname)"
|
|
[ "$(cat /sys/class/net/"${if}"/carrier)" = 0 ] && {
|
|
return 0
|
|
}
|
|
return 1
|