2
0
forked from Ivasoft/openwrt

netlogic: add basic user-space support

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 43038
This commit is contained in:
Florian Fainelli
2014-10-24 00:16:37 +00:00
parent c6285fd82f
commit 7166fbbb67
4 changed files with 90 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
#!/bin/sh
#
# Copyright (C) 2014 OpenWrt.org
#
[ -e /etc/config/network ] && exit 0
touch /etc/config/network
. /lib/functions/uci-defaults.sh
. /lib/netlogic.sh
ucidef_set_interface_loopback
case "$board_name" in
"xlp-evp" |\
"xlp-fvp" |\
"xlp-gvp" |\
"xlp-svp" |\
*)
ucidef_set_interface_lan "eth0"
;;
esac
uci commit network
exit 0