Remote servers list filename
This commit is contained in:
parent
94857a327e
commit
6077da4ac6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue