diff --git a/package/gluon-autoupdater/files/usr/sbin/autoupdater b/package/gluon-autoupdater/files/usr/sbin/autoupdater
index 5e351b40289aeff3c30f61e95ae72f2bae198a20..88e64346c17ee618ede4b564037f6d353319fd40 100755
--- a/package/gluon-autoupdater/files/usr/sbin/autoupdater
+++ b/package/gluon-autoupdater/files/usr/sbin/autoupdater
@@ -20,7 +20,9 @@ if test "a$1" != "a-f"; then
 fi
 
 BRANCH_NAME=$(uci get autoupdater.${BRANCH}.name)
-MIRRORS=$(uci get autoupdater.${BRANCH}.mirror)
+MIRRORS=$(for mirror in $(uci get autoupdater.${BRANCH}.mirror); do \
+            hexdump -n1 -e '/1 "%d '"$mirror"'\n"' /dev/urandom; \
+          done | sort -n | cut -d' ' -f2)
 PUBKEYS=$(uci get autoupdater.${BRANCH}.pubkey)
 GOOD_SIGNATURES=$(uci get autoupdater.${BRANCH}.good_signatures)