fix minor typo & move loopback to network config
[openwrt.git] / package / base-files / brcm-2.4 / etc / init.d / S05netconfig
index a4d2935..175b9a9 100755 (executable)
@@ -61,10 +61,18 @@ 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"
-       p("ifnames", "lan_ifname")
+       p("ifname", "lan_ifname")
        print " option proto    static"
        print " option ipaddr   192.168.1.1"
        print " option netmask  255.255.255.0"
This page took 0.023576 seconds and 4 git commands to generate.