ramips: fix network configuration setup
authorGabor Juhos <juhosg@openwrt.org>
Mon, 5 Dec 2011 16:54:48 +0000 (16:54 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Mon, 5 Dec 2011 16:54:48 +0000 (16:54 +0000)
SVN-Revision: 29448

target/linux/ramips/base-files/etc/uci-defaults/network

index 6f2843ba247c2af5020de582f83382d2b9831116..6d1de3c408814afadde03d7f52bd3643c6d6ee6d 100755 (executable)
@@ -53,7 +53,7 @@ ramips_setup_interfaces()
        b2c | \
        f5d8235-v2 | \
        nw718)
-               ucidef_set_interfaces_lan_wan "eth0.1 eth0.2"
+               ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
                ;;
 
        rt-n15)
@@ -66,9 +66,9 @@ ramips_setup_interfaces()
        *)
                RT3X5X=`cat /proc/cpuinfo | grep RT3.5`
                if [ -n "${RT3X5X}" ]; then
-                       ucidef_set_interfaces_lan_wan "eth0.1 eth0.2"
+                       ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
                else
-                       ucidef_set_interfaces_lan_wan "eth0 eth1"
+                       ucidef_set_interfaces_lan_wan "eth0" "eth1"
                fi
                ;;
        esac