From: Felix Fietkau Date: Fri, 9 Mar 2007 18:20:54 +0000 (+0000) Subject: fix up the netconfig script after the devfs=>hotplug2 migration X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=65e59861ba1d9e20ab927b49d69ae3a67ae73639;p=openwrt%2Fstaging%2Fneocturne.git fix up the netconfig script after the devfs=>hotplug2 migration SVN-Revision: 6542 --- 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) {