summaryrefslogtreecommitdiffstats
path: root/package/base-files/brcm-2.4/etc/init.d/S05netconfig
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/brcm-2.4/etc/init.d/S05netconfig')
-rwxr-xr-xpackage/base-files/brcm-2.4/etc/init.d/S05netconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/package/base-files/brcm-2.4/etc/init.d/S05netconfig b/package/base-files/brcm-2.4/etc/init.d/S05netconfig
index 2efd596aa..175b9a983 100755
--- a/package/base-files/brcm-2.4/etc/init.d/S05netconfig
+++ b/package/base-files/brcm-2.4/etc/init.d/S05netconfig
@@ -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"