fix minor typo & move loopback to network config
[openwrt/staging/dedeckeh.git] / openwrt / package / base-files / brcm-2.4 / etc / init.d / S05netconfig
index 2efd596aa8e50cec7f08925612be81c54b0a119c..175b9a98361b008a05416fbaf012184877b52839 100755 (executable)
@@ -61,6 +61,14 @@ END {
        p("vlan1", "vlan1ports")
        print ""
        print ""
+       print "#### Loopback configuration"
+       print "config interface loopback"
+       print " option ifname   \"lo\""
+       print " option proto    static"
+       print " option ipaddr   127.0.0.1"
+       print " option netmask  255.0.0.0"
+       print ""
+       print ""
        print "#### LAN configuration"
        print "config interface lan"
        print " option type     bridge"