mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-30 18:07:52 +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 kname 'chilli'
|
||||||
option debug 0
|
option debug 0
|
||||||
EOF
|
EOF
|
||||||
|
/etc/init.d/chilli disable
|
||||||
|
|||||||
@@ -2,6 +2,6 @@
|
|||||||
|
|
||||||
[ "$ACTION" == "ifup" ] || exit 0
|
[ "$ACTION" == "ifup" ] || exit 0
|
||||||
|
|
||||||
[ "$INTERFACE" = "wan" ] && {
|
[ "$INTERFACE" = "wan" -a "$(uci get chilli.@chilli[-1].disabled)" -neq 0 ] && {
|
||||||
/etc/init.d/chilli restart
|
/etc/init.d/chilli restart
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user