summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-03-09 18:20:54 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-03-09 18:20:54 +0000
commit65e59861ba1d9e20ab927b49d69ae3a67ae73639 (patch)
tree8b77a41ee5a656f258b2ef74d0520d07ffeea15e /target/linux
parent99c848c555319d2dd9e78926711153efcee264d0 (diff)
downloadmtk-20170518-65e59861ba1d9e20ab927b49d69ae3a67ae73639.zip
mtk-20170518-65e59861ba1d9e20ab927b49d69ae3a67ae73639.tar.gz
mtk-20170518-65e59861ba1d9e20ab927b49d69ae3a67ae73639.tar.bz2
fix up the netconfig script after the devfs=>hotplug2 migration
SVN-Revision: 6542
Diffstat (limited to 'target/linux')
-rwxr-xr-xtarget/linux/brcm-2.4/base-files/default/etc/init.d/netconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/brcm-2.4/base-files/default/etc/init.d/netconfig b/target/linux/brcm-2.4/base-files/default/etc/init.d/netconfig
index 4cc23d2..8d20486 100755
--- a/target/linux/brcm-2.4/base-files/default/etc/init.d/netconfig
+++ b/target/linux/brcm-2.4/base-files/default/etc/init.d/netconfig
@@ -13,7 +13,7 @@ start() {
# WGT634u
echo boardtype=wgt634u
else
- strings /dev/mtdblock/3
+ strings "$(find_mtd_part nvram)"
fi
) | awk '
function p(cfgname, name) {