Changeset 4daadd6 in freewrt


Ignore:
Timestamp:
Mar 27, 2007, 2:22:06 PM (19 years ago)
Author:
Thorsten Glaser <tg@…>
Children:
733c357
Parents:
b09bfb13
Message:

ok, while “trace” i̲s̲ a client-side debug option, it was,
according to tha@ who doesn't know the exact purpose
either, still needed – probably to slow down the transfer?

revert -r2280

git-svn-id: svn://www.freewrt.org/trunk/freewrt@2288 afb5a338-a214-0410-bd46-81f09a774fd1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • scripts/flash.sh

    rb09bfb13 r4daadd6  
    5151}
    5252
    53 debopt=
    54 if [ x"$1" = x"-d" ]; then
    55         debopt='trace\n'
    56         shift
    57 fi
    58 
    5953# find an available tftp client
    6054tftp=
     
    8276*-asus-wl500g-deluxe-*.bin | *-asus-wl500g-premium-*.bin)
    8377        echo Flashing $ip using "$file"...
    84         printf "${debopt}rexmt 1\nbinary\nput $file\nquit\n" | $tftp $ip
     78        printf "rexmt 1\ntrace\nbinary\nput $file\nquit\n" | $tftp $ip
    8579        echo Please wait 3 minutes and then remove the power.
    8680        echo This device does not reboot automatically after flashing.
     
    9084        printf "get ASUSSPACELINK\x01\x01\xa8\xc0 /dev/null\nquit\n" | $tftp $ip
    9185        echo Flashing $ip using "$file"...
    92         printf "${debopt}binary\nput $file ASUSSPACELINK\nquit\n" | $tftp $ip
     86        printf "binary\nput $file ASUSSPACELINK\nquit\n" | $tftp $ip
    9387        echo Please wait until leds stops flashing. Device will automatically reboot.
    9488        ;;
    9589*-linksys-*.bin)
    9690        echo Flashing $ip using "$file"...
    97         printf "${debopt}rexmt 1\nbinary\nput $file\nquit\n" | $tftp $ip
     91        printf "rexmt 1\ntrace\nbinary\nput $file\nquit\n" | $tftp $ip
    9892        echo Unit will automatically reboot within 3-5 minutes.  Do not power off.
    9993        ;;
Note: See TracChangeset for help on using the changeset viewer.