Parent Directory | Revision Log | Patch
revision 36 by dpavlin, Wed Apr 25 10:53:40 2007 UTC | revision 43 by dpavlin, Fri Nov 16 14:44:37 2007 UTC | |
---|---|---|
# | Line 2 | Line 2 |
2 | ||
3 | tftp=/srv/tftp/ | tftp=/srv/tftp/ |
4 | tmp=/tmp/tftp | tmp=/tmp/tftp |
5 | fw_info=/root/mdap/fw-info.pl | fw_info=./fw-info.pl |
6 | ||
7 | echo "Select firmware image to flash: " > $tmp | echo "Select firmware image to flash: " > $tmp |
8 | echo > $tmp | echo > $tmp |
9 | ||
10 | which=`find $tftp -type f | xargs -i $fw_info {} 2>/dev/null | sed -e "s!$tftp!!" -e 's!^!<s>!' -e 's!^<s>\(.* BANT-R\)!\1!' | iselect -c -n "Select firmware file"` | which=`find $tftp -type f | xargs -i $fw_info {} 2>/dev/null | sort | sed -e "s!$tftp!!" -e 's!^!<s>!' -e 's!^<s>\(.* BANT-R\)!\1!' | iselect -c -n "Select firmware file"` |
11 | ||
12 | test -z "$which" && exit | test -z "$which" && exit |
13 |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |