瀏覽代碼

Return to basic wait screen

Bob Mottram 8 年之前
父節點
當前提交
9bcf1e6a29
共有 1 個文件被更改,包括 0 次插入16 次删除
  1. 0
    16
      src/freedombone-controlpanel

+ 0
- 16
src/freedombone-controlpanel 查看文件

@@ -47,33 +47,17 @@ function please_wait {
47 47
         echo -n ''
48 48
 }
49 49
 
50
-function include_source {
51
-    source $1
52
-}
53
-
54 50
 please_wait
55 51
 
56
-width=$(tput cols)
57
-height=$(tput lines)
58
-spin='-\|/'
59
-i=0
60 52
 UTILS_FILES=/usr/share/${PROJECT_NAME}/utils/${PROJECT_NAME}-utils-*
61 53
 for f in $UTILS_FILES
62 54
 do
63
-    tput cup $((height * 3 / 5)) $(((width / 2)))
64
-    echo -n ''
65
-    i=$(( (i+1) %4 ))
66
-    printf "\r${spin:$i:1}"
67 55
     source $f
68 56
 done
69 57
 
70 58
 APP_FILES=/usr/share/${PROJECT_NAME}/apps/${PROJECT_NAME}-app-*
71 59
 for f in $APP_FILES
72 60
 do
73
-    tput cup $((height * 3 / 5)) $(((width / 2)))
74
-    echo -n ''
75
-    i=$(( (i+1) %4 ))
76
-    printf "\r${spin:$i:1}"
77 61
     source $f
78 62
 done
79 63