projects
/
lede.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
base-files: increase vm.min_free_kbytes
[lede.git]
/
package
/
base-files
/
files
/
etc
/
board.d
/
99-default_network
1
#!/bin/sh
2
#
3
# Copyright (C) 2013-2015 OpenWrt.org
4
#
5
6
. /lib/functions/uci-defaults.sh
7
8
board_config_update
9
10
json_is_a network object && exit 0
11
12
ucidef_set_interface_lan 'eth0'
13
[ -d /sys/class/net/eth1 ] && ucidef_set_interface_wan 'eth1'
14
15
board_config_flush
16
17
exit 0