fix up the netconfig script after the devfs=>hotplug2 migration
[openwrt/svn-archive/archive.git] / 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) {