--- tftp-iselect.sh 2007/11/18 15:20:16 76 +++ tftp-iselect.sh 2007/11/18 15:27:37 77 @@ -9,7 +9,7 @@ echo -e "Currently selected version for flash:\n" > $tmp -grep " BANT-" $tmp.all > $tmp.selected +grep " BANT-.$" $tmp.all > $tmp.selected cat $tmp.selected >> $tmp echo -e "\nAll versions available:\n" >> $tmp @@ -24,7 +24,7 @@ board=`echo $which | cut -d" " -f2` path=`echo $which | cut -c32-` -ln -sf $tftp/$path $tftp/$board || exit +cp $tftp/$path $tftp/$board.new && mv $tftp/$board.new $tftp/$board || exit echo "Using $path for $board [$version]"