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
32
.gitignore
vendored
32
.gitignore
vendored
|
@ -1,3 +1,29 @@
|
||||||
sdk
|
*.o
|
||||||
source
|
.DS_Store
|
||||||
feeds
|
.*.swp
|
||||||
|
/env
|
||||||
|
/dl
|
||||||
|
/.config
|
||||||
|
/.config.old
|
||||||
|
/bin
|
||||||
|
/build_dir
|
||||||
|
/staging_dir
|
||||||
|
/tmp
|
||||||
|
/logs
|
||||||
|
/feeds
|
||||||
|
/feeds.conf
|
||||||
|
/files
|
||||||
|
/overlay
|
||||||
|
/package/feeds
|
||||||
|
/package/openwrt-packages
|
||||||
|
key-build*
|
||||||
|
*.orig
|
||||||
|
*.rej
|
||||||
|
*~
|
||||||
|
.#*
|
||||||
|
*#
|
||||||
|
.emacs.desktop*
|
||||||
|
TAGS*~
|
||||||
|
git-src
|
||||||
|
.git-credentials
|
||||||
|
/*.log
|
||||||
|
|
|
@ -10,6 +10,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