mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-12-17 17:31:27 +00:00
8 lines
157 B
Bash
8 lines
157 B
Bash
#!/bin/sh
|
|
|
|
[ "$ACTION" == "ifup" ] || exit 0
|
|
|
|
[ "$INTERFACE" = "wan" -a "$(uci get chilli.@chilli[-1].disabled)" -neq 0 ] && {
|
|
/etc/init.d/chilli restart
|
|
}
|