=================================================================== RCS file: /cvs/openbsd/fw_update/fw_install.sh,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- openbsd/fw_update/fw_install.sh 2021/10/05 01:49:17 1.4 +++ openbsd/fw_update/fw_install.sh 2021/10/14 02:26:31 1.5 @@ -28,10 +28,10 @@ last='' ftp -D "Detecting" -Vmo- $PATTERNS | while read d m; do - grep=fgrep + grep=grep [ "$last" = "$d" ] && continue [ "$m" ] || m="^$d[0-9][0-9]* at " - [ "$m" != "${m#^}" ] && grep=grep + [ "$m" = "${m#^}" ] && grep=fgrep $grep -q "$m" /var/run/dmesg.boot || continue echo $d last=$d