summaryrefslogtreecommitdiffstats
path: root/openwrt/target/linux/package/base-files/files/brcm-2.4/etc/init.d/S05nvram
diff options
context:
space:
mode:
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/S05nvram3
1 files changed, 3 insertions, 0 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 728b2847b..70fbd4662 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
@@ -6,6 +6,9 @@
. /etc/network.overrides
alias debug=${DEBUG:-:}
+# WGT634u
+[ "$(/usr/bin/head -c4 /dev/mtdblock/1 | /usr/bin/tail -c3)" = "ELF" ] && exit
+
remap () {
for type in lan wifi wan pppoe
do