projects
/
oweals
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
netlogic: add basic user-space support
[oweals/openwrt.git]
/
target
/
linux
/
netlogic
/
base-files
/
etc
/
uci-defaults
/
02_network
1
#!/bin/sh
2
#
3
# Copyright (C) 2014 OpenWrt.org
4
#
5
6
[ -e /etc/config/network ] && exit 0
7
8
touch /etc/config/network
9
10
. /lib/functions/uci-defaults.sh
11
. /lib/netlogic.sh
12
13
ucidef_set_interface_loopback
14
15
case "$board_name" in
16
"xlp-evp" |\
17
"xlp-fvp" |\
18
"xlp-gvp" |\
19
"xlp-svp" |\
20
*)
21
ucidef_set_interface_lan "eth0"
22
;;
23
24
esac
25
26
uci commit network
27
28
exit 0