diff options
author | intrigeri <intrigeri@boum.org> | 2005-11-29 10:10:31 +0000 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2005-11-29 10:10:31 +0000 |
commit | aabc2bbe10785823d05f41ac568d1b464b61838c (patch) | |
tree | 2790fca1db4a118e35e80a26df0ffdc12a6c692f /handlers | |
parent | 089f74ad699a956c86c180939e2ba70e863630f3 (diff) | |
download | backupninja-aabc2bbe10785823d05f41ac568d1b464b61838c.tar.gz backupninja-aabc2bbe10785823d05f41ac568d1b464b61838c.tar.bz2 |
r3564@krups: intrigeri | 2005-11-16 20:33:48 +0100
dup.helper: disabled connection setup, waiting for rdiff.helper code to be shared in some lib.
Diffstat (limited to 'handlers')
-rw-r--r-- | handlers/dup.helper | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/handlers/dup.helper b/handlers/dup.helper index 89f458d..102e063 100644 --- a/handlers/dup.helper +++ b/handlers/dup.helper @@ -159,9 +159,12 @@ do_dup_gpg() { set +o noglob _gpg_done="(DONE)" - setDefault conn + setDefault adv + # TODO: replace the above line by the following when do_dup_conn is written + # setDefault conn } +# TODO: share rdiff.helper code in some lib, and use it here do_dup_conn() { _con_done="(DONE)" setDefault adv @@ -354,11 +357,12 @@ dup_main_menu() { gpgitem="configure GnuPG encryption/signing $_gpg_done" conitem="set up ssh keys and test remote connection $_con_done" advitem="edit advanced settings $_adv_done" + # TODO: add the following to the menu when do_dup_conn is written + # conn "$conitem" \ menuBox "$dup_title" "choose a step:" \ src "$srcitem" \ dest "$destitem" \ gpg "$gpgitem" \ - conn "$conitem" \ adv "$advitem" \ finish "finish and create config file" [ $? = 0 ] || return 1 @@ -368,10 +372,13 @@ dup_main_menu() { "src") do_dup_src;; "dest") do_dup_dest;; "gpg") do_dup_gpg;; - "conn") do_dup_conn;; + # TODO: enable the following when do_dup_conn is written + # "conn") do_dup_conn;; "adv") do_dup_adv;; "finish") - if [[ "$_con_done$_dest_done$_gpg_done$_src_done" != "(DONE)(DONE)(DONE)(DONE)" ]]; then + if [[ "$_dest_done$_gpg_done$_src_done" != "(DONE)(DONE)(DONE)" ]]; then + # TODO: replace the previous test by the following when do_dup_conn is written + # if [[ "$_con_done$_dest_done$_gpg_done$_src_done" != "(DONE)(DONE)(DONE)(DONE)" ]]; then msgBox "$dup_title" "You cannot create the configuration file until the four first steps are completed." else do_dup_finish |