15 lines
421 B
Plaintext
15 lines
421 B
Plaintext
# Disable DHCP servers
|
|
/etc/init.d/odhcpd disable
|
|
/etc/init.d/dnsmasq disable
|
|
|
|
# Remove firewall rules since AP bridges ethernet to wireless anyway
|
|
uci delete firewall.@zone[1]
|
|
uci delete firewall.@zone[0]
|
|
uci delete firewall.@forwarding[0]
|
|
for j in $(seq 0 10); do uci delete firewall.@rule[0]; done
|
|
|
|
# Remove LAN interface
|
|
uci delete network.lan
|
|
uci delete network.globals.ula_prefix
|
|
uci delete dhcp.@dnsmasq[0].domain
|