mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-29 17:42:41 +00:00
maverick: do not provide uplink connectivity to connected clients
Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
@@ -24,9 +24,16 @@ ssid_set() {
|
||||
uci set wireless.$1.ssid='Maverick'
|
||||
}
|
||||
|
||||
delete_forwarding() {
|
||||
uci delete firewall.$1
|
||||
}
|
||||
|
||||
config_load wireless
|
||||
config_foreach radio_enable wifi-device
|
||||
config_foreach ssid_set wifi-iface
|
||||
config_load firewall
|
||||
config_foreach delete_forwarding forwarding
|
||||
|
||||
uci commit
|
||||
|
||||
/etc/init.d/uhttpd enable
|
||||
|
||||
Reference in New Issue
Block a user