X-Git-Url: https://git.josue.xyz/?p=whiptailexamples%2F.git;a=blobdiff_plain;f=progress.sh;fp=progress.sh;h=f9c46a808fea6b6ab8a016bb8e532ac766d0285a;hp=0000000000000000000000000000000000000000;hb=4eb1a6e1220dee809c089a0a7db1f22a1277c8e0;hpb=e38cc981105fb88c40c6e287900fb8a2537d3c29 diff --git a/progress.sh b/progress.sh new file mode 100755 index 0000000..f9c46a8 --- /dev/null +++ b/progress.sh @@ -0,0 +1,7 @@ +#!/bin/bash +{ + for ((i = 0 ; i <= 100 ; i+=20)); do + sleep 1 + echo $i + done +} | whiptail --gauge "Please wait while installing" 6 60 0