aboutsummaryrefslogtreecommitdiffstats
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
commit025d25aed38214683a895dfef6bf82376835baa2 (patch)
treea993bdebf67121ba9ed15146d84c1fcfd8cc3ed6
parent62e4a692dc75385b81905ce8b7f03f1ad3bb7c2f (diff)
downloadupstream-025d25aed38214683a895dfef6bf82376835baa2.tar.gz
upstream-025d25aed38214683a895dfef6bf82376835baa2.tar.bz2
upstream-025d25aed38214683a895dfef6bf82376835baa2.zip
[package] nvram: don't execute nvram fixups on the WGT634U
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16349 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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.