--- tftp-iselect.sh 2007/04/23 20:50:37 22 +++ tftp-iselect.sh 2007/05/07 18:34:11 38 @@ -7,7 +7,7 @@ echo "Select firmware image to flash: " > $tmp echo > $tmp -which=`find $tftp -type f | xargs -i $fw_info {} 2>/dev/null | sed -e "s!$tftp!!" -e 's!^!!' -e 's!^\(.* BANT-R\)!\1!' | iselect` +which=`find $tftp -type f | xargs -i $fw_info {} 2>/dev/null | sort | sed -e "s!$tftp!!" -e 's!^!!' -e 's!^\(.* BANT-R\)!\1!' | iselect -c -n "Select firmware file"` test -z "$which" && exit