fix config routes enable/disable handling on down/up
[project/netifd.git] / config / network
index 9b16bba..782557b 100644 (file)
@@ -42,8 +42,19 @@ config interface wan
        option username foo
        option password bar
 
+config interface wlan
+       option proto    static
+       option ipaddr   192.168.2.1
+       option netmask  255.255.255.0
+
 config interface test
        option ifname   @test
        option proto    static
        option ipaddr   192.168.5.1
        option netmask  255.255.255.0
+
+config route
+       option target   192.168.0.1
+       option netmask  24
+       option gateway  192.168.5.2
+       option interface wan