Browse Source

nvram: don't execute nvram fixups on the WGT634U

SVN-Revision: 16349
Jo-Philipp Wich 16 years ago
parent
commit
4c9e3682cb
1 changed files with 3 additions and 0 deletions
  1. 3 0
      package/nvram/files/nvram.init

+ 3 - 0
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.