summaryrefslogtreecommitdiff
path: root/openwrt/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
commitb367cfb4e270dd4d377f258dc5a0d22d3743d883 (patch)
tree99e89cd512d7ea38971a472caf65fcf7514c53c0 /openwrt/package/base-files/default
parent12eb1c316840776ababe91f93ca96c74e93d6c61 (diff)
downloadmtk-20170518-b367cfb4e270dd4d377f258dc5a0d22d3743d883.zip
mtk-20170518-b367cfb4e270dd4d377f258dc5a0d22d3743d883.tar.gz
mtk-20170518-b367cfb4e270dd4d377f258dc5a0d22d3743d883.tar.bz2
fix minor typo & move loopback to network config
SVN-Revision: 4683
Diffstat (limited to 'openwrt/package/base-files/default')
-rwxr-xr-xopenwrt/package/base-files/default/etc/init.d/S10boot4
-rwxr-xr-xopenwrt/package/base-files/default/lib/network/config.sh2
2 files changed, 1 insertions, 5 deletions
diff --git a/openwrt/package/base-files/default/etc/init.d/S10boot b/openwrt/package/base-files/default/etc/init.d/S10boot
index 19420ed..34f4cea 100755
--- a/openwrt/package/base-files/default/etc/init.d/S10boot
+++ b/openwrt/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/openwrt/package/base-files/default/lib/network/config.sh b/openwrt/package/base-files/default/lib/network/config.sh
index ec05c3e..bb58a3e 100755
--- a/openwrt/package/base-files/default/lib/network/config.sh
+++ b/openwrt/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