Browse Source

Restore syncthing from control panel

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

+ 4
- 13
src/freedombone-controlpanel View File

349
         fi
349
         fi
350
         echo ''
350
         echo ''
351
     fi
351
     fi
352
-    if grep -q "Owncloud domain" $COMPLETION_FILE; then
353
-        echo -n -e "$(pad_string 'Owncloud')"
354
-        OWNCLOUDDOM=$(cat ${COMPLETION_FILE} | grep 'Owncloud domain' | awk -F ':' '{print $2}')
355
-        echo -n -e "$(pad_string ${OWNCLOUDDOM})"
356
-        if [ -d /var/lib/tor/hidden_service_owncloud ]; then
357
-            echo -n "$(cat /var/lib/tor/hidden_service_owncloud/hostname)"
358
-        fi
359
-        echo ''
360
-    fi
361
     if grep -q "Gogs domain" $COMPLETION_FILE; then
352
     if grep -q "Gogs domain" $COMPLETION_FILE; then
362
         echo -n -e "$(pad_string 'Gogs')"
353
         echo -n -e "$(pad_string 'Gogs')"
363
         GOGSDOM=$(cat ${COMPLETION_FILE} | grep 'Gogs domain' | awk -F ':' '{print $2}')
354
         GOGSDOM=$(cat ${COMPLETION_FILE} | grep 'Gogs domain' | awk -F ':' '{print $2}')
1127
                19 $"XMPP chat" off \
1118
                19 $"XMPP chat" off \
1128
                20 $"GNU Social" off \
1119
                20 $"GNU Social" off \
1129
                21 $"Hubzilla" off \
1120
                21 $"Hubzilla" off \
1130
-               22 $"Owncloud" off \
1121
+               22 $"Syncthing" off \
1131
                23 $"Gogs" off \
1122
                23 $"Gogs" off \
1132
                24 $"Wiki" off \
1123
                24 $"Wiki" off \
1133
                25 $"Blog" off \
1124
                25 $"Blog" off \
1170
             19) ${PROJECT_NAME}-restore-local $USB_DRIVE xmpp;;
1161
             19) ${PROJECT_NAME}-restore-local $USB_DRIVE xmpp;;
1171
             20) ${PROJECT_NAME}-restore-local $USB_DRIVE gnusocial;;
1162
             20) ${PROJECT_NAME}-restore-local $USB_DRIVE gnusocial;;
1172
             21) ${PROJECT_NAME}-restore-local $USB_DRIVE hubzilla;;
1163
             21) ${PROJECT_NAME}-restore-local $USB_DRIVE hubzilla;;
1173
-            22) ${PROJECT_NAME}-restore-local $USB_DRIVE owncloud;;
1164
+            22) ${PROJECT_NAME}-restore-local $USB_DRIVE syncthing;;
1174
             23) ${PROJECT_NAME}-restore-local $USB_DRIVE gogs;;
1165
             23) ${PROJECT_NAME}-restore-local $USB_DRIVE gogs;;
1175
             24) ${PROJECT_NAME}-restore-local $USB_DRIVE wiki;;
1166
             24) ${PROJECT_NAME}-restore-local $USB_DRIVE wiki;;
1176
             25) ${PROJECT_NAME}-restore-local $USB_DRIVE blog;;
1167
             25) ${PROJECT_NAME}-restore-local $USB_DRIVE blog;;
1217
                19 $"XMPP chat" off \
1208
                19 $"XMPP chat" off \
1218
                20 $"GNU Social" off \
1209
                20 $"GNU Social" off \
1219
                21 $"Hubzilla" off \
1210
                21 $"Hubzilla" off \
1220
-               22 $"Owncloud" off \
1211
+               22 $"Syncthing" off \
1221
                23 $"Gogs" off \
1212
                23 $"Gogs" off \
1222
                24 $"Wiki" off \
1213
                24 $"Wiki" off \
1223
                25 $"Blog" off \
1214
                25 $"Blog" off \
1259
             19) ${PROJECT_NAME}-restore-remote $remote_domain_name xmpp;;
1250
             19) ${PROJECT_NAME}-restore-remote $remote_domain_name xmpp;;
1260
             20) ${PROJECT_NAME}-restore-remote $remote_domain_name gnusocial;;
1251
             20) ${PROJECT_NAME}-restore-remote $remote_domain_name gnusocial;;
1261
             21) ${PROJECT_NAME}-restore-remote $remote_domain_name hubzilla;;
1252
             21) ${PROJECT_NAME}-restore-remote $remote_domain_name hubzilla;;
1262
-            22) ${PROJECT_NAME}-restore-remote $remote_domain_name owncloud;;
1253
+            22) ${PROJECT_NAME}-restore-remote $remote_domain_name syncthing;;
1263
             23) ${PROJECT_NAME}-restore-remote $remote_domain_name gogs;;
1254
             23) ${PROJECT_NAME}-restore-remote $remote_domain_name gogs;;
1264
             24) ${PROJECT_NAME}-restore-remote $remote_domain_name wiki;;
1255
             24) ${PROJECT_NAME}-restore-remote $remote_domain_name wiki;;
1265
             25) ${PROJECT_NAME}-restore-remote $remote_domain_name blog;;
1256
             25) ${PROJECT_NAME}-restore-remote $remote_domain_name blog;;