mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-29 17:42:41 +00:00
chilli: fix log spam when coova is not used
Fixes: WIFI-4471 Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
@@ -21,3 +21,4 @@ config chilli
|
||||
option kname 'chilli'
|
||||
option debug 0
|
||||
EOF
|
||||
/etc/init.d/chilli disable
|
||||
|
||||
@@ -2,6 +2,6 @@
|
||||
|
||||
[ "$ACTION" == "ifup" ] || exit 0
|
||||
|
||||
[ "$INTERFACE" = "wan" ] && {
|
||||
[ "$INTERFACE" = "wan" -a "$(uci get chilli.@chilli[-1].disabled)" -neq 0 ] && {
|
||||
/etc/init.d/chilli restart
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user