mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
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
This commit is contained in:
@@ -22,7 +22,3 @@ for iface in $(/sbin/ifconfig -a | awk '{print $1}' | grep eth); do
|
||||
done
|
||||
|
||||
load_modules /etc/modules /etc/modules.d/*
|
||||
|
||||
ifconfig lo 127.0.0.1 up
|
||||
ifconfig eth0 promisc
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ scan_interfaces() {
|
||||
interface)
|
||||
config_get proto "$CONFIG_SECTION" proto
|
||||
append interfaces "$CONFIG_SECTION"
|
||||
config_get iftype "$CONFIG_SECTION" iftype
|
||||
config_get iftype "$CONFIG_SECTION" type
|
||||
case "$iftype" in
|
||||
bridge)
|
||||
config_get ifname "$CONFIG_SECTION" ifname
|
||||
|
||||
Reference in New Issue
Block a user