Remote servers list filename

This commit is contained in:
Bob Mottram 2015-12-22 21:00:15 +00:00
parent 94857a327e
commit 6077da4ac6
1 changed files with 5 additions and 2 deletions

View File

@ -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