mirror of
https://github.com/pi-hole/PADD.git
synced 2026-04-18 07:48:49 +01:00
Don't show the startup counter if requested to only run once
Signed-off-by: yubiuser <github@yubiuser.dev>
This commit is contained in:
15
padd.sh
15
padd.sh
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user