Changeset 2453


Ignore:
Timestamp:
2005-11-12T20:15:54+01:00 (11 years ago)
Author:
nbd
Message:

make linksys fixup script safe for GS v4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/openwrt/target/linux/package/base-files/files/brcm-2.4/etc/init.d/S05nvram

    r2417 r2453  
    3636        "$((0x708))") 
    3737                if [ "$adm_switch" = 0 ]; then 
    38                         nvram_set sdram_init 0x010b 
     38                        nvram_set sdram_init "$(printf 0x%04x $(( $(nvram get sdram_init) | 0x0100 )))" 
    3939                        [ "$COMMIT" = 1 ] && { 
    4040                                nvram_set sdram_config 0x0062 
     
    5050        ;; 
    5151        "$((0x467))") 
    52                 nvram_set sdram_init 0x010c 
     52                nvram_set sdram_init "$(printf 0x%04x $(( $(nvram get sdram_init) | 0x0100 )))" 
    5353                [ "$COMMIT" = 1 ] && { 
    5454                        nvram_set sdram_config 0x0062 
Note: See TracChangeset for help on using the changeset viewer.