fix up the netconfig script after the devfs=>hotplug2 migration
authorFelix Fietkau <nbd@openwrt.org>
Fri, 9 Mar 2007 18:20:54 +0000 (18:20 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 9 Mar 2007 18:20:54 +0000 (18:20 +0000)
SVN-Revision: 6542

target/linux/brcm-2.4/base-files/default/etc/init.d/netconfig

index 4cc23d2..8d20486 100755 (executable)
@@ -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) {