fix invoking shell protocol handler scripts
[project/netifd.git] / config / network
index 1f803a0..6e9d7a6 100644 (file)
@@ -9,7 +9,8 @@ config interface loopback
 config device
        option name             br-lan
        option type     bridge
-       option ifname   "eth0.1 eth0.2"
+       list ifname             eth0.1
+       list ifname             eth0.2
        option mtu              1500
 
 config device
@@ -26,9 +27,15 @@ config interface dummy
        option proto    none
 
 config interface lan2
-       option ifname   eth0.3
+       option ifname   "eth0.3 eth0.5"
        option type             bridge
        option proto    static
        option ipaddr   192.168.1.1
        option netmask  255.255.255.0
+       option gateway  192.168.1.2
 
+config interface wan
+       option proto    pppoe
+       option ifname   br-lan2
+       option username foo
+       option password bar