From 6077da4ac6ad83064251a6a9a822696cb078a586 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 22 Dec 2015 21:00:15 +0000 Subject: [PATCH] Remote servers list filename --- src/freedombone-remote | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/freedombone-remote b/src/freedombone-remote index affad75d..dd1ad0d5 100755 --- a/src/freedombone-remote +++ b/src/freedombone-remote @@ -39,7 +39,7 @@ export TEXTDOMAINDIR="/usr/share/locale" MY_USERNAME=$USER # Filename of the remote backups list -FRIENDS_SERVERS_LIST=/home/$MY_USERNAME/backup.list +FRIENDS_SERVERS_LIST= # Minimum password length in characters MINIMUM_PASSWORD_LENGTH=8 @@ -114,7 +114,6 @@ esac shift done - function interactive_configuration_remote_backups { if [ ! $MY_USERNAME ]; then echo $'Please specify a username with the -u option' @@ -254,6 +253,10 @@ function show_result { echo '' } +if [ ! $FRIENDS_SERVERS_LIST ]; then + FRIENDS_SERVERS_LIST=/home/$MY_USERNAME/backup.list +fi + interactive_configuration_remote_backups show_result exit 0