fix up the netconfig script after the devfs=>hotplug2 migration
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 9 Mar 2007 18:20:54 +0000 (18:20 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 9 Mar 2007 18:20:54 +0000 (18:20 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6542 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

index 4cc23d233b8f87f53e357b94833177ed64bc10e7..8d204862ca8a661f712b2d93a9c95135587c5785 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) {