git.samba.org
/
sahlberg
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc5bc19
)
Eventscripts - call ctdb_check_args() in 00.ctdb
author
Martin Schwenke
<martin@meltin.net>
Tue, 23 Aug 2011 06:43:53 +0000
(16:43 +1000)
committer
Martin Schwenke
<martin@meltin.net>
Mon, 29 Aug 2011 23:33:47 +0000
(09:33 +1000)
This is the first eventscript. Sanity check as early as possible and
everyone benefits.
Signed-off-by: Martin Schwenke <martin@meltin.net>
config/events.d/00.ctdb
patch
|
blob
|
history
diff --git
a/config/events.d/00.ctdb
b/config/events.d/00.ctdb
index 321ba9c708836bb345022471cd6fc3f4cf56fe44..2a48afb8e2063a420531ccf07bbcc874914cb499 100755
(executable)
--- a/
config/events.d/00.ctdb
+++ b/
config/events.d/00.ctdb
@@
-35,6
+35,8
@@
update_config_from_tdb() {
fi
}
+ctdb_check_args "$@"
+
case "$1" in
init)
# make sure we have a blank state directory for the scripts to work with