summaryrefslogtreecommitdiff
path: root/ctdb/tests/events.d
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-01-19 10:07:14 +0100
committerStefan Metzmacher <metze@samba.org>2010-01-20 09:44:36 +0100
commitfd06167caa2c194e74c651e1374047213c6cd9d5 (patch)
tree6f9fa814e7ed75169a175edd67b18e0c57b6dd75 /ctdb/tests/events.d
parent8456a1b0ef5c6f25c89d289c2ba57cdeeef71f70 (diff)
downloadsamba-fd06167caa2c194e74c651e1374047213c6cd9d5.tar.gz
server: add "init" event
This is needed because the "startup" event runs after the initial recovery, but we need to do some actions before the initial recovery. metze (This used to be ctdb commit e953808449c102258abb6cba6f4abf486dda3b82)
Diffstat (limited to 'ctdb/tests/events.d')
-rwxr-xr-xctdb/tests/events.d/00.test4
1 files changed, 4 insertions, 0 deletions
diff --git a/ctdb/tests/events.d/00.test b/ctdb/tests/events.d/00.test
index fe9926b1a63..877e47b6ef1 100755
--- a/ctdb/tests/events.d/00.test
+++ b/ctdb/tests/events.d/00.test
@@ -16,6 +16,10 @@ case $cmd in
exit 0;
;;
+ init)
+ echo "ctdb init event"
+ exit 0;
+ ;;
startup)
echo "ctdb startup event"
exit 0;