diff options
author | Luka Perkov <luka@openwrt.org> | 2013-10-16 03:25:51 +0000 |
---|---|---|
committer | Luka Perkov <luka@openwrt.org> | 2013-10-16 03:25:51 +0000 |
commit | 0cd026cc5bba2d3450cfa34bab99bff4124b538a (patch) | |
tree | b448a64c94b95ba5c384cde58c622104edcabfb9 /target | |
parent | 89c72aeb452600b8f6c3b9b571af7f06290a51b8 (diff) | |
download | upstream-0cd026cc5bba2d3450cfa34bab99bff4124b538a.tar.gz upstream-0cd026cc5bba2d3450cfa34bab99bff4124b538a.tar.bz2 upstream-0cd026cc5bba2d3450cfa34bab99bff4124b538a.zip |
imx6: minor (cosmetic) changes in uci-defaults
Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38421 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/imx6/base-files/etc/uci-defaults/02_network | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/target/linux/imx6/base-files/etc/uci-defaults/02_network b/target/linux/imx6/base-files/etc/uci-defaults/02_network index e115a9e954..a8b748275e 100644 --- a/target/linux/imx6/base-files/etc/uci-defaults/02_network +++ b/target/linux/imx6/base-files/etc/uci-defaults/02_network @@ -5,15 +5,13 @@ [ -e /etc/config/network ] && exit 0 -. /lib/functions/uci-defaults.sh - touch /etc/config/network -ucidef_set_interface_loopback +. /lib/functions/uci-defaults.sh -board=$(cat /proc/device-tree/model) +ucidef_set_interface_loopback -case "$board" in +case "`cat /proc/device-tree/model`" in "Gateworks Ventana GW51XX" |\ "Gateworks Ventana GW52XX") ucidef_set_interface_lan 'eth0' |