X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/b74cd7490e2370ad7369bcb166c876788fcc33e1..8b7966f57cde5319c7072c57cb81f9728783f91e:/openwrt/target/linux/package/base-files/files/brcm-2.4/etc/init.d/S05nvram diff --git a/openwrt/target/linux/package/base-files/files/brcm-2.4/etc/init.d/S05nvram b/openwrt/target/linux/package/base-files/files/brcm-2.4/etc/init.d/S05nvram index dbae25620..b985948d7 100755 --- a/openwrt/target/linux/package/base-files/files/brcm-2.4/etc/init.d/S05nvram +++ b/openwrt/target/linux/package/base-files/files/brcm-2.4/etc/init.d/S05nvram @@ -7,7 +7,7 @@ alias debug=${DEBUG:-:} # WGT634u -[ "$(/usr/bin/head -c4 /dev/mtdblock/1 | /usr/bin/tail -c3)" = "ELF" ] && exit +grep 'mtd0: 00060000' /proc/mtd 2>&- >&- && exit remap () { for type in lan wifi wan pppoe