Don't show the startup counter if requested to only run once

Signed-off-by: yubiuser <github@yubiuser.dev>
This commit is contained in:
yubiuser
2025-03-07 09:34:32 +01:00
parent eaf46ccec4
commit 2aeb96ca13

15
padd.sh
View File

@@ -1683,12 +1683,15 @@ StartupRoutine(){
fi
fi
moveXOffset; printf "%s" "- Starting in "
for i in 3 2 1
do
printf "%s..." "$i"
sleep 1
done
if [ "${runOnce}" = "false" ]; then
moveXOffset; printf "%s" "- Starting in "
for i in 3 2 1
do
printf "%s..." "$i"
sleep 1
done
fi
}
NormalPADD() {