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 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) {