projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix minor typo & move loopback to network config
[openwrt.git]
/
package
/
base-files
/
brcm-2.4
/
etc
/
init.d
/
S05netconfig
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
a4d2935
..
175b9a9
100755
(executable)
--- a/
package/base-files/brcm-2.4/etc/init.d/S05netconfig
+++ b/
package/base-files/brcm-2.4/etc/init.d/S05netconfig
@@
-61,10
+61,18
@@
END {
p("vlan1", "vlan1ports")
print ""
print ""
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"
print "#### LAN configuration"
print "config interface lan"
print " option type bridge"
- p("ifname
s
", "lan_ifname")
+ p("ifname", "lan_ifname")
print " option proto static"
print " option ipaddr 192.168.1.1"
print " option netmask 255.255.255.0"
print " option proto static"
print " option ipaddr 192.168.1.1"
print " option netmask 255.255.255.0"
This page took
0.024165 seconds
and
4
git commands to generate.