summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-03-09 18:20:54 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-03-09 18:20:54 +0000
commite7bcfad83590a5caeb7efab84b1866d7041e9374 (patch)
treefb17cce3698953351ebe46d9a8167a28e17d5c2d
parent75f5660b07b9e84b89d1e3bfd2cff39aa9fb7d9c (diff)
fix up the netconfig script after the devfs=>hotplug2 migration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6542 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 4cc23d233b..8d204862ca 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) {