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