Merge branch 'stockholm' of https://github.com/bashrc/freedombone into stockholm
This commit is contained in:
commit
2fa22c4d04
|
@ -788,7 +788,7 @@ function select_user {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
function interactive_configuration {
|
function interactive_config {
|
||||||
# create a temporary copy of the configuration file
|
# create a temporary copy of the configuration file
|
||||||
# which can be used to pre-populate selections
|
# which can be used to pre-populate selections
|
||||||
if [ -f $CONFIGURATION_FILE ]; then
|
if [ -f $CONFIGURATION_FILE ]; then
|
||||||
|
@ -2192,6 +2192,6 @@ function read_configuration {
|
||||||
}
|
}
|
||||||
|
|
||||||
read_configuration
|
read_configuration
|
||||||
interactive_configuration
|
interactive_config
|
||||||
show_result
|
show_result
|
||||||
exit 0
|
exit 0
|
||||||
|
|
|
@ -116,7 +116,7 @@ do
|
||||||
shift
|
shift
|
||||||
done
|
done
|
||||||
|
|
||||||
function interactive_configuration_remote_backups {
|
function interactive_config_remote_backups {
|
||||||
if [ ! $MY_USERNAME ]; then
|
if [ ! $MY_USERNAME ]; then
|
||||||
echo $'Please specify a username with the -u option'
|
echo $'Please specify a username with the -u option'
|
||||||
exit 7356
|
exit 7356
|
||||||
|
@ -259,6 +259,6 @@ if [ ! $FRIENDS_SERVERS_LIST ]; then
|
||||||
FRIENDS_SERVERS_LIST=/home/$MY_USERNAME/backup.list
|
FRIENDS_SERVERS_LIST=/home/$MY_USERNAME/backup.list
|
||||||
fi
|
fi
|
||||||
|
|
||||||
interactive_configuration_remote_backups
|
interactive_config_remote_backups
|
||||||
show_result
|
show_result
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Reference in New Issue