aboutsummaryrefslogtreecommitdiff
path: root/handlers
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2010-01-19 12:01:18 +1300
committerMicah Anderson <micah@riseup.net>2010-01-27 17:07:21 -0500
commite6d73631ab43ef124ccc31543b3c2ec9743a6d2e (patch)
treee9f84896fda9cf51d129512f8a8d87d8ef10f63d /handlers
parent41ce8625ed7c6d45c0a9de0ea52dc074ec3d4380 (diff)
downloadbackupninja-e6d73631ab43ef124ccc31543b3c2ec9743a6d2e.tar.gz
backupninja-e6d73631ab43ef124ccc31543b3c2ec9743a6d2e.tar.bz2
add a few more 'formItem include' lines to the rdiff and dup handlers
to improve the ninjahelper interface as requested by alster in redmine
Diffstat (limited to 'handlers')
-rw-r--r--handlers/dup.helper.in15
-rw-r--r--handlers/rdiff.helper.in16
2 files changed, 31 insertions, 0 deletions
diff --git a/handlers/dup.helper.in b/handlers/dup.helper.in
index ae48e4c..8b344dc 100644
--- a/handlers/dup.helper.in
+++ b/handlers/dup.helper.in
@@ -18,6 +18,11 @@ do_dup_host_includes() {
formItem include ""
formItem include ""
formItem include ""
+ formItem include ""
+ formItem include ""
+ formItem include ""
+ formItem include ""
+ formItem include ""
formDisplay
[ $? = 0 ] || return 1
dup_includes="$REPLY"
@@ -42,6 +47,11 @@ do_dup_vserver() {
formItem include ""
formItem include ""
formItem include ""
+ formItem include ""
+ formItem include ""
+ formItem include ""
+ formItem include ""
+ formItem include ""
formDisplay
[ $? = 0 ] || return 1
dup_vsincludes="$REPLY"
@@ -59,6 +69,11 @@ do_dup_excludes() {
formItem exclude ""
formItem exclude ""
formItem exclude ""
+ formItem exclude ""
+ formItem exclude ""
+ formItem exclude ""
+ formItem exclude ""
+ formItem exclude ""
formDisplay
[ $? = 0 ] || return 1
dup_excludes="$REPLY"
diff --git a/handlers/rdiff.helper.in b/handlers/rdiff.helper.in
index 83f2fb5..e35d629 100644
--- a/handlers/rdiff.helper.in
+++ b/handlers/rdiff.helper.in
@@ -22,6 +22,11 @@ do_rdiff_host_includes() {
formItem include
formItem include
formItem include
+ formItem include
+ formItem include
+ formItem include
+ formItem include
+ formItem include
formDisplay
[ $? = 0 ] || return
unset rdiff_includes
@@ -49,6 +54,11 @@ do_rdiff_vserver() {
formItem include ""
formItem include ""
formItem include ""
+ formItem include ""
+ formItem include ""
+ formItem include ""
+ formItem include ""
+ formItem include ""
formDisplay
[ $? = 0 ] || return 1
rdiff_vsincludes=($REPLY)
@@ -66,6 +76,12 @@ do_rdiff_excludes() {
done
formItem exclude
formItem exclude
+ formItem exclude
+ formItem exclude
+ formItem exclude
+ formItem exclude
+ formItem exclude
+ formItem exclude
formDisplay
[ $? = 0 ] || return
unset rdiff_excludes