Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (17 sloc) 348 Bytes
#!/bin/bash
CH_S[0]='-' #pseudographic items
CH_S[1]='/'
CH_S[2]='|'
CH_S[3]='\'
CTR=0
PGNO=0
while [ "$CTR" -ne 10 ];do
let "CTR=CTR+1"
dialog --sleep 1 \
--title "Wait 10 seconds" \
--infobox "Wait for 10 seconds:${CH_S[PGNO]}" 3 35
let "PGNO=PGNO+1"
if [ "$PGNO" -eq 4 ];then
PGNO=0
fi
done
You can’t perform that action at this time.