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:
parent
46e77c7fcd
commit
399d482651
1 changed files with 1 additions and 1 deletions
2
root/package/base-files/files/etc/board.d/99-default_network
Executable file → Normal file
2
root/package/base-files/files/etc/board.d/99-default_network
Executable file → Normal file
|
@ -1,4 +1,3 @@
|
||||||
#!/bin/sh
|
|
||||||
#
|
#
|
||||||
# Copyright (C) 2013-2015 OpenWrt.org
|
# Copyright (C) 2013-2015 OpenWrt.org
|
||||||
#
|
#
|
||||||
|
@ -10,6 +9,7 @@ board_config_update
|
||||||
json_is_a network object && exit 0
|
json_is_a network object && exit 0
|
||||||
|
|
||||||
ucidef_set_interface_lan 'eth0'
|
ucidef_set_interface_lan 'eth0'
|
||||||
|
[ -d /sys/class/net/eth1 ] && ucidef_set_interface_wan 'eth1'
|
||||||
|
|
||||||
board_config_flush
|
board_config_flush
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue