|
@@ -666,25 +666,6 @@ function restore_mailing_list {
|
666
|
666
|
fi
|
667
|
667
|
}
|
668
|
668
|
|
669
|
|
-function restore_cjdns {
|
670
|
|
- if [[ $RESTORE_APP != 'all' ]]; then
|
671
|
|
- if [[ $RESTORE_APP != 'cjdns' ]]; then
|
672
|
|
- return
|
673
|
|
- fi
|
674
|
|
- fi
|
675
|
|
- if [ -d $SERVER_DIRECTORY/backup/cjdns ]; then
|
676
|
|
- echo $"Restoring cjdns installation"
|
677
|
|
- temp_restore_dir=/root/tempcjdns
|
678
|
|
- restore_directory_from_friend $temp_restore_dir cjdns
|
679
|
|
- rm -rf /etc/cjdns
|
680
|
|
- cp -r $temp_restore_dir/etc/cjdns /etc/
|
681
|
|
- if [ ! "$?" = "0" ]; then
|
682
|
|
- exit 7438
|
683
|
|
- fi
|
684
|
|
- rm -rf $temp_restore_dir
|
685
|
|
- fi
|
686
|
|
-}
|
687
|
|
-
|
688
|
669
|
function restore_voip {
|
689
|
670
|
if [[ $RESTORE_APP != 'all' ]]; then
|
690
|
671
|
if [[ $RESTORE_APP != 'voip' ]]; then
|
|
@@ -813,7 +794,6 @@ restore_mailing_list
|
813
|
794
|
restore_email
|
814
|
795
|
#restore_apps remote
|
815
|
796
|
|
816
|
|
-restore_cjdns
|
817
|
797
|
restore_voip
|
818
|
798
|
restore_tox
|
819
|
799
|
restore_dlna
|