Try this script
#!/bin/sh
uci set dhcp.lan.dynamicdhcp=0
uci commit dhcp
service dnsmasq restart
Obviously dynamicdhcp=1
will enable it back.
Try this script
#!/bin/sh
uci set dhcp.lan.dynamicdhcp=0
uci commit dhcp
service dnsmasq restart
Obviously dynamicdhcp=1
will enable it back.