Changeset 4daadd6 in freewrt
- Timestamp:
- Mar 27, 2007, 2:22:06 PM (19 years ago)
- Children:
- 733c357
- Parents:
- b09bfb13
- File:
-
- 1 edited
-
scripts/flash.sh (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
scripts/flash.sh
rb09bfb13 r4daadd6 51 51 } 52 52 53 debopt=54 if [ x"$1" = x"-d" ]; then55 debopt='trace\n'56 shift57 fi58 59 53 # find an available tftp client 60 54 tftp= … … 82 76 *-asus-wl500g-deluxe-*.bin | *-asus-wl500g-premium-*.bin) 83 77 echo Flashing $ip using "$file"... 84 printf " ${debopt}rexmt 1\nbinary\nput $file\nquit\n" | $tftp $ip78 printf "rexmt 1\ntrace\nbinary\nput $file\nquit\n" | $tftp $ip 85 79 echo Please wait 3 minutes and then remove the power. 86 80 echo This device does not reboot automatically after flashing. … … 90 84 printf "get ASUSSPACELINK\x01\x01\xa8\xc0 /dev/null\nquit\n" | $tftp $ip 91 85 echo Flashing $ip using "$file"... 92 printf " ${debopt}binary\nput $file ASUSSPACELINK\nquit\n" | $tftp $ip86 printf "binary\nput $file ASUSSPACELINK\nquit\n" | $tftp $ip 93 87 echo Please wait until leds stops flashing. Device will automatically reboot. 94 88 ;; 95 89 *-linksys-*.bin) 96 90 echo Flashing $ip using "$file"... 97 printf " ${debopt}rexmt 1\nbinary\nput $file\nquit\n" | $tftp $ip91 printf "rexmt 1\ntrace\nbinary\nput $file\nquit\n" | $tftp $ip 98 92 echo Unit will automatically reboot within 3-5 minutes. Do not power off. 99 93 ;;
Note:
See TracChangeset
for help on using the changeset viewer.
