From 465de48141a686fc4915fa816a24b976fa00a5bd Mon Sep 17 00:00:00 2001 From: mbm Date: Sun, 27 Aug 2006 11:11:55 +0000 Subject: 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 --- package/base-files/default/etc/init.d/S10boot | 4 ---- package/base-files/default/lib/network/config.sh | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) (limited to 'package/base-files/default') diff --git a/package/base-files/default/etc/init.d/S10boot b/package/base-files/default/etc/init.d/S10boot index 19420eda5..34f4cea93 100755 --- a/package/base-files/default/etc/init.d/S10boot +++ b/package/base-files/default/etc/init.d/S10boot @@ -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 - diff --git a/package/base-files/default/lib/network/config.sh b/package/base-files/default/lib/network/config.sh index ec05c3eb8..bb58a3e75 100755 --- a/package/base-files/default/lib/network/config.sh +++ b/package/base-files/default/lib/network/config.sh @@ -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 -- cgit v1.2.3