firmware: retain ordering in update servers

This only pertains to the connectivity audit changes from
26.1.8.  Treat the server from opnsense-update -M as the
primary one by not sorting the result.

PR: https://forum.opnsense.org/index.php?topic=52025.0
This commit is contained in:
Franco Fichtner 2026-06-03 08:29:40 +02:00
parent 8e1be409fc
commit 74e76cbeaf

View file

@ -60,4 +60,4 @@ for HOST in $( (for URL in ${URLS}; do
HOST=${URL#*://}
echo ${HOST%%/*}
done) | sort -u); do echo ${HOST}; done
done) | awk '!_[$0]++'); do echo ${HOST}; done