mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-03-09 15:40:20 +00:00
升级路由IP
This commit is contained in:
parent
61b3e06b2b
commit
7cdbb2d8fc
2 changed files with 30 additions and 3 deletions
|
|
@ -10,6 +10,7 @@ board_config_update
|
|||
json_is_a network object && exit 0
|
||||
|
||||
ucidef_set_interface_lan 'eth0'
|
||||
[ -d /sys/class/net/eth1 ] && ucidef_set_interface_wan 'eth1'
|
||||
|
||||
board_config_flush
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue