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

fix network

This commit is contained in:
suyuan 2021-01-08 01:08:56 +08:00
parent 105313e91f
commit 34bb7db35b
2 changed files with 54 additions and 111 deletions

View file

@ -0,0 +1,16 @@
#!/bin/sh
#
# Copyright (C) 2013-2015 OpenWrt.org
#
. /lib/functions/uci-defaults.sh
board_config_update
json_is_a network object && exit 0
ucidef_set_interface_lan 'eth0'
board_config_flush
exit 0