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

Update 99-default_network

This commit is contained in:
suyunfan 2021-03-31 23:33:59 +08:00
parent 46e77c7fcd
commit 399d482651

View file

@ -1,4 +1,3 @@
#!/bin/sh
#
# Copyright (C) 2013-2015 OpenWrt.org
#
@ -10,6 +9,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