aboutsummaryrefslogtreecommitdiffstats
path: root/package/nvram/files/nvram.init
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-06-06 02:05:10 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-06-06 02:05:10 +0000
commit4c9e3682cb405d850902b7d1c54e2c8a74cbb10c (patch)
tree8e72c481327135439ebca15ede933fc29c00d673 /package/nvram/files/nvram.init
parente72be9e83bbe2546685f2322508f32a48c703bd2 (diff)
downloadupstream-4c9e3682cb405d850902b7d1c54e2c8a74cbb10c.tar.gz
upstream-4c9e3682cb405d850902b7d1c54e2c8a74cbb10c.tar.bz2
upstream-4c9e3682cb405d850902b7d1c54e2c8a74cbb10c.zip
nvram: don't execute nvram fixups on the WGT634U
SVN-Revision: 16349
Diffstat (limited to 'package/nvram/files/nvram.init')
-rwxr-xr-xpackage/nvram/files/nvram.init3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/nvram/files/nvram.init b/package/nvram/files/nvram.init
index 001b294959..75d712b59c 100755
--- a/package/nvram/files/nvram.init
+++ b/package/nvram/files/nvram.init
@@ -60,6 +60,9 @@ fixup_linksys() {
}
start() {
+ # Don't do any fixups on the WGT634U
+ [ "$(cat /proc/diag/model)" = "Netgear WGT634U" ] && return
+
fixup_linksys
# OFDM Power Offset is set incorrectly on many boards.