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 001b29495948a2d254b046ed14a999f7b3b81e8d..75d712b59c062f8f64976cc2ae04bffc5731f745 100755 (executable)
@@ -60,6 +60,9 @@ fixup_linksys() {
 }
 
 start() {
 }
 
 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.
        fixup_linksys
 
        # OFDM Power Offset is set incorrectly on many boards.