Skip to content
Snippets Groups Projects
Commit 6077da4a authored by Bob Mottram's avatar Bob Mottram
Browse files

Remote servers list filename

parent 94857a32
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment