summaryrefslogtreecommitdiff
path: root/package/base-files/brcm-2.4/etc/init.d/S05netconfig
diff options
context:
space:
mode:
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-08-27 11:11:55 +0000
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-08-27 11:11:55 +0000
commit465de48141a686fc4915fa816a24b976fa00a5bd (patch)
tree1214bf14d4fd428e3f8eca52a1dce8fa03626fb1 /package/base-files/brcm-2.4/etc/init.d/S05netconfig
parentf7d68e0a92d2978712aa6ebf610a300f5818948a (diff)
fix minor typo & move loopback to network config
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4683 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 2efd596aa8..175b9a9836 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"