Changeset 2668

Show
Ignore:
Timestamp:
05/25/07 16:56:59 (2 years ago)
Author:
tg
Message:

support .trx file extension too

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/freewrt/scripts/flash.sh

    r2545 r2668  
    7676        exit 1 
    7777        ;; 
    78 *-asus-wl500g-deluxe-*.bin | *-asus-wl500g-premium-*.bin) 
     78*-asus-wl500g-deluxe-*.bin | *-asus-wl500g-premium-*.bin | \ 
     79*-asus-wl500g-deluxe-*.trx | *-asus-wl500g-premium-*.trx ) 
    7980        echo Flashing $ip using "$file"... 
    8081        printf "rexmt 1\ntrace\nbinary\nput $file\nquit\n" | $tftp $ip 
     
    8283        echo This device does not reboot automatically after flashing. 
    8384        ;; 
    84 *-asus-wl500g-*.bin
     85*-asus-wl500g-*.bin | *-asus-wl500g-*.trx
    8586        echo Confirming IP address setting... 
    8687        printf "get ASUSSPACELINK\x01\x01\xa8\xc0 /dev/null\nquit\n" | $tftp $ip