Browse Source

Menu position

Bob Mottram 9 years ago
parent
commit
d90918e19d
1 changed files with 6 additions and 6 deletions
  1. 6
    6
      src/freedombone-controlpanel

+ 6
- 6
src/freedombone-controlpanel View File

@@ -126,7 +126,7 @@ function show_domains {
126 126
     echo -n -e "$(pad_string 'ICANN')"
127 127
     echo -n -e "$(pad_string 'Tor')"
128 128
     echo ''
129
-    echo '-------------------------------------------------------------------------'
129
+    echo '--------------------------------------------------------------------------'
130 130
     if grep -q "Email onion domain" $COMPLETION_FILE; then
131 131
         echo -n -e "$(pad_string 'Email')"
132 132
         echo -n -e "$(pad_string ' ')"
@@ -206,7 +206,7 @@ function show_users {
206 206
     echo -n -e "$(pad_string 'SIP ext')"
207 207
     echo -n -e "$(pad_string 'Data')"
208 208
     echo ''
209
-    echo '-------------------------------------------------------------------------'
209
+    echo '--------------------------------------------------------------------------'
210 210
     for d in /home/*/ ; do
211 211
         USRNAME=$(echo "$d" | awk -F '/' '{print $3}')
212 212
         if [[ $USRNAME != "git" ]]; then
@@ -1349,8 +1349,8 @@ function menu_top_level {
1349 1349
         dialog --backtitle $"Freedombone Control Panel" \
1350 1350
                --title $"Control Panel" \
1351 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 1354
                3 $"Reset Tripwire" off \
1355 1355
                4 $"Logging on/off" off \
1356 1356
                5 $"Ping enable/disable" off \
@@ -1373,8 +1373,8 @@ function menu_top_level {
1373 1373
             255) exit 1;;
1374 1374
         esac
1375 1375
         case $(cat $data) in
1376
-            1) menu_backup_restore;;
1377
-            2) show_about;;
1376
+            1) show_about;;
1377
+            2) menu_backup_restore;;
1378 1378
             3) reset_tripwire;;
1379 1379
             4) logging_on_off;;
1380 1380
             5) ping_enable_disable;;