10
0
openwrt-camera-image/overlay/etc/uci-defaults/50-camera
Lauri Võsandi ab5ad51ef9
All checks were successful
continuous-integration/drone Build is passing
Move to Drone
2022-06-29 09:18:26 +03:00

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