I have not gotten nearly enough positive feedback for the previous iterations of this to be really comfortable this close to release.
This version doesn't solve any of the less common failure cases, but it makes the normal "fw_update" when there is no network look nicer. I can look at bringing back the previous patch after the release. Before: $ doas fw_update fw_update:fw_update: firmware.openbsd.org: no address associated with name add none; update none Cannot fetch http://firmware.openbsd.org/firmware/snapshots/SHA256.sig After: $ doas ksh ./fw_update.sh fw_update.sh: add none; update none fw_update.sh: firmware.openbsd.org: no address associated with name Cannot fetch http://firmware.openbsd.org/firmware/snapshots/SHA256.sig Index: fw_update.sh =================================================================== RCS file: /cvs/src/usr.sbin/fw_update/fw_update.sh,v retrieving revision 1.50 diff -u -p -r1.50 fw_update.sh --- fw_update.sh 28 Sep 2023 01:18:52 -0000 1.50 +++ fw_update.sh 1 Oct 2023 14:24:20 -0000 @@ -113,7 +113,7 @@ fetch() { ( _flags=-vm case "$VERBOSE" in - 0|1) _flags=-VM ;; + 0|1) _flags=-VM ; exec 2>&"$WARN_FD" ;; 2) _flags=-Vm ;; esac if [ -x /usr/bin/su ]; then