aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/default
diff options
context:
space:
mode:
authorMike Baker <mbm@openwrt.org>2006-08-27 11:11:55 +0000
committerMike Baker <mbm@openwrt.org>2006-08-27 11:11:55 +0000
commitbaef996bf0625f08654c76a7b0a0494cb1d83654 (patch)
tree1214bf14d4fd428e3f8eca52a1dce8fa03626fb1 /package/base-files/default
parentb22c99747f922dbcf9ffdeb197b4c1140566b3de (diff)
downloadupstream-baef996bf0625f08654c76a7b0a0494cb1d83654.tar.gz
upstream-baef996bf0625f08654c76a7b0a0494cb1d83654.tar.bz2
upstream-baef996bf0625f08654c76a7b0a0494cb1d83654.zip
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/default')
-rwxr-xr-xpackage/base-files/default/etc/init.d/S10boot4
-rwxr-xr-xpackage/base-files/default/lib/network/config.sh2
2 files changed, 1 insertions, 5 deletions
diff --git a/package/base-files/default/etc/init.d/S10boot b/package/base-files/default/etc/init.d/S10boot
index 19420eda53..34f4cea934 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 ec05c3eb81..bb58a3e751 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