projects
/
openwrt
/
staging
/
wigyori.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
brcm2708: Use uci-defaults for network config
[openwrt/staging/wigyori.git]
/
target
/
linux
/
brcm2708
/
base-files
/
etc
/
uci-defaults
/
02_network
1
#!/bin/sh
2
# Copyright (C) 2014 OpenWrt.org
3
4
[
-e
/
etc
/
config
/
network
] &&
exit
0
5
6
touch
/
etc
/
config
/
network
7
8
.
/
lib
/
function
s
/
uci-defaults.sh
9
10
ucidef_set_interface_loopback
11
ucidef_set_interface_lan
"eth0"
12
13
uci commit network
14
15
exit
0