From 9bcf1e6a29a02c4da4436c66aeda817bd6fa4c23 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 11 Jun 2017 22:23:44 +0100 Subject: [PATCH] Return to basic wait screen --- src/freedombone-controlpanel | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/freedombone-controlpanel b/src/freedombone-controlpanel index d22d9f5a..b610b6e4 100755 --- a/src/freedombone-controlpanel +++ b/src/freedombone-controlpanel @@ -47,33 +47,17 @@ function please_wait { echo -n '' } -function include_source { - source $1 -} - please_wait -width=$(tput cols) -height=$(tput lines) -spin='-\|/' -i=0 UTILS_FILES=/usr/share/${PROJECT_NAME}/utils/${PROJECT_NAME}-utils-* for f in $UTILS_FILES do - tput cup $((height * 3 / 5)) $(((width / 2))) - echo -n '' - i=$(( (i+1) %4 )) - printf "\r${spin:$i:1}" source $f done APP_FILES=/usr/share/${PROJECT_NAME}/apps/${PROJECT_NAME}-app-* for f in $APP_FILES do - tput cup $((height * 3 / 5)) $(((width / 2))) - echo -n '' - i=$(( (i+1) %4 )) - printf "\r${spin:$i:1}" source $f done