mirror of
https://github.com/kenzok8/small-package.git
synced 2026-02-05 06:17:38 +08:00
update-10.04
This commit is contained in:
@@ -30,6 +30,7 @@ ap_mode_stop(){
|
||||
echo "" > /etc/easymesh
|
||||
|
||||
uci delete dhcp.lan.dynamicdhcp
|
||||
uci delete dhcp.lan.ignore
|
||||
uci commit dhcp
|
||||
|
||||
/etc/init.d/odhcpd enable && /etc/init.d/odhcpd start
|
||||
@@ -111,6 +112,7 @@ start(){
|
||||
echo "$dns" >> /etc/easymesh
|
||||
|
||||
uci set dhcp.lan.dynamicdhcp='0'
|
||||
uci set dhcp.lan.ignore='1'
|
||||
uci delete dhcp.lan.ra
|
||||
uci delete dhcp.lan.dhcpv6
|
||||
uci delete dhcp.lan.ra_management
|
||||
|
||||
Reference in New Issue
Block a user