nvram: don't execute nvram fixups on the WGT634U
authorJo-Philipp Wich <jow@openwrt.org>
Sat, 6 Jun 2009 02:05:10 +0000 (02:05 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sat, 6 Jun 2009 02:05:10 +0000 (02:05 +0000)
SVN-Revision: 16349

package/nvram/files/nvram.init

index 001b294..75d712b 100755 (executable)
@@ -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.