From c09f6e3f1cb9cda6b984e3dd564d2ce6340f51b4 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Wed, 26 Feb 2020 12:05:04 +0100 Subject: [SSUS] Give 5 seconds time when trying to install an older update --- satellit_upgrader/updater.template.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/satellit_upgrader/updater.template.sh b/satellit_upgrader/updater.template.sh index 071e6eb..0246f9a 100644 --- a/satellit_upgrader/updater.template.sh +++ b/satellit_upgrader/updater.template.sh @@ -208,6 +208,11 @@ if [ -n "$TGZ_SLXADMIN" ]; then : # Negate so NaN triggers else branch else ${DO_UPDATE:-perror} "This update seems to be older than the server version you're currently running" + echo -n "Press Ctrl+C to cancel update..." + for i in 5 4 3 2 1; do + sleep 1 + echo -n "${i}.." + done fi if [ -z "$DO_UPDATE" ]; then echo "If you want to install this update, run again with --update parameter:" -- cgit v1.2.3-55-g7522