summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Noll <maan@systemlinux.org>2010-04-05 21:58:30 +0200
committerAndre Noll <maan@systemlinux.org>2010-04-16 16:07:50 +0200
commit04ec13e4dca5477527009dec2f0bb578cb0308e8 (patch)
treec38e9e5c4998bb1bd774b6ef3c77718ba5d65f80
parent8648fb1996eb395a837753f5b3264c70b668381c (diff)
Make all hooks default to /bin/true.
This way, we can always execute the hook which should simplify the code a bit.
-rw-r--r--dss.ggo5
1 files changed, 5 insertions, 0 deletions
diff --git a/dss.ggo b/dss.ggo
index 09e345d..7934db3 100644
--- a/dss.ggo
+++ b/dss.ggo
@@ -268,6 +268,7 @@ option "pre-create-hook" r
#~~~~~~~~~~~~~~~~~~~~~~~~~~
"Executed before snapshot creation"
string typestr="command"
+default = "/bin/true"
optional
details="
Execute this command before trying to create a new snapshot.
@@ -286,6 +287,7 @@ option "post-create-hook" o
#~~~~~~~~~~~~~~~~~~~~~~~~~~
"Executed after snapshot creation"
string typestr="command"
+default = "/bin/true"
optional
details="
Execute this after a snapshot has successfully been
@@ -302,6 +304,7 @@ option "pre-remove-hook" -
#~~~~~~~~~~~~~~~~~~~~~~~~~~
"Executed before snapshot removal"
string typestr="command"
+default = "/bin/true"
optional
details="
Execute this command before removing a snapshot. The full
@@ -323,6 +326,7 @@ option "post-remove-hook" -
#~~~~~~~~~~~~~~~~~~~~~~~~~~
"Executed after snapshot removal"
string typestr="command"
+default = "/bin/true"
optional
details="
Execute this after a snapshot has successfully been removed. As
@@ -335,6 +339,7 @@ option "exit-hook" e
#~~~~~~~~~~~~~~~~~~~
"Executed if run command exits"
string typestr="command"
+default = "/bin/true"
optional
details="
This hook is only used if the --run command was given which