Initial
[whiptailexamples/.git] / progress.sh
diff --git a/progress.sh b/progress.sh
new file mode 100755 (executable)
index 0000000..f9c46a8
--- /dev/null
@@ -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