浏览代码

Menu position

Bob Mottram 9 年前
父节点
当前提交
d90918e19d
共有 1 个文件被更改,包括 6 次插入6 次删除
  1. 6
    6
      src/freedombone-controlpanel

+ 6
- 6
src/freedombone-controlpanel 查看文件

126
     echo -n -e "$(pad_string 'ICANN')"
126
     echo -n -e "$(pad_string 'ICANN')"
127
     echo -n -e "$(pad_string 'Tor')"
127
     echo -n -e "$(pad_string 'Tor')"
128
     echo ''
128
     echo ''
129
-    echo '-------------------------------------------------------------------------'
129
+    echo '--------------------------------------------------------------------------'
130
     if grep -q "Email onion domain" $COMPLETION_FILE; then
130
     if grep -q "Email onion domain" $COMPLETION_FILE; then
131
         echo -n -e "$(pad_string 'Email')"
131
         echo -n -e "$(pad_string 'Email')"
132
         echo -n -e "$(pad_string ' ')"
132
         echo -n -e "$(pad_string ' ')"
206
     echo -n -e "$(pad_string 'SIP ext')"
206
     echo -n -e "$(pad_string 'SIP ext')"
207
     echo -n -e "$(pad_string 'Data')"
207
     echo -n -e "$(pad_string 'Data')"
208
     echo ''
208
     echo ''
209
-    echo '-------------------------------------------------------------------------'
209
+    echo '--------------------------------------------------------------------------'
210
     for d in /home/*/ ; do
210
     for d in /home/*/ ; do
211
         USRNAME=$(echo "$d" | awk -F '/' '{print $3}')
211
         USRNAME=$(echo "$d" | awk -F '/' '{print $3}')
212
         if [[ $USRNAME != "git" ]]; then
212
         if [[ $USRNAME != "git" ]]; then
1349
         dialog --backtitle $"Freedombone Control Panel" \
1349
         dialog --backtitle $"Freedombone Control Panel" \
1350
                --title $"Control Panel" \
1350
                --title $"Control Panel" \
1351
                --radiolist $"Choose an operation:" 25 70 18 \
1351
                --radiolist $"Choose an operation:" 25 70 18 \
1352
-               1 $"Backup and Restore" off \
1353
-               2 $"About this system" off \
1352
+               1 $"About this system" off \
1353
+               2 $"Backup and Restore" off \
1354
                3 $"Reset Tripwire" off \
1354
                3 $"Reset Tripwire" off \
1355
                4 $"Logging on/off" off \
1355
                4 $"Logging on/off" off \
1356
                5 $"Ping enable/disable" off \
1356
                5 $"Ping enable/disable" off \
1373
             255) exit 1;;
1373
             255) exit 1;;
1374
         esac
1374
         esac
1375
         case $(cat $data) in
1375
         case $(cat $data) in
1376
-            1) menu_backup_restore;;
1377
-            2) show_about;;
1376
+            1) show_about;;
1377
+            2) menu_backup_restore;;
1378
             3) reset_tripwire;;
1378
             3) reset_tripwire;;
1379
             4) logging_on_off;;
1379
             4) logging_on_off;;
1380
             5) ping_enable_disable;;
1380
             5) ping_enable_disable;;