summaryrefslogtreecommitdiffstats
path: root/openwrt/target/linux/package/base-files/files/brcm-2.4/etc/init.d/S05nvram
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-01-31 22:36:07 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-01-31 22:36:07 +0000
commit3fb64e239b9275ee1b7c14de5fe9e293baa32f83 (patch)
treea230ae725d453c48f06d8c3aab5b3cc121218995 /openwrt/target/linux/package/base-files/files/brcm-2.4/etc/init.d/S05nvram
parent8fc76ea675a5bea2e3a72c11684f9c85ef42cfe4 (diff)
finally fix the /etc/config/network bug on wgt634u (#214, #215, #219)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3105 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/target/linux/package/base-files/files/brcm-2.4/etc/init.d/S05nvram')
-rwxr-xr-xopenwrt/target/linux/package/base-files/files/brcm-2.4/etc/init.d/S05nvram2
1 files changed, 1 insertions, 1 deletions
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