1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-03-09 15:40:20 +00:00

升级路由IP

This commit is contained in:
suyuan 2020-09-28 22:19:42 +08:00
parent 61b3e06b2b
commit 7cdbb2d8fc
2 changed files with 30 additions and 3 deletions

View file

@ -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