diff options
author | Martin Schwenke <martin@meltin.net> | 2018-05-15 13:39:15 +1000 |
---|---|---|
committer | Amitay Isaacs <amitay@samba.org> | 2018-06-05 17:47:26 +0200 |
commit | 12fd8d7a5c5d14d403aac6cd9e318afcd0a8e159 (patch) | |
tree | 216b7da2efee0c9bb4e89de2e1f05d9f18528704 /ctdb/tests/eventscripts/scripts/local.sh | |
parent | 0f5d93a0baa7ef5fc0ef2404dc9a3cc3438d0b7f (diff) | |
download | samba-12fd8d7a5c5d14d403aac6cd9e318afcd0a8e159.tar.gz |
ctdb-scripts: Move event scripts to events/legacy/ directory
This is the initial location that will be used by the new
multi-component aware event daemon.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'ctdb/tests/eventscripts/scripts/local.sh')
-rw-r--r-- | ctdb/tests/eventscripts/scripts/local.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ctdb/tests/eventscripts/scripts/local.sh b/ctdb/tests/eventscripts/scripts/local.sh index d34135eba35..3f6bf16b5bc 100644 --- a/ctdb/tests/eventscripts/scripts/local.sh +++ b/ctdb/tests/eventscripts/scripts/local.sh @@ -40,7 +40,7 @@ else fi setup_ctdb_base "$EVENTSCRIPTS_TESTS_VAR_DIR" "etc-ctdb" \ - events.d \ + events \ functions \ nfs-checks.d \ nfs-linux-kernel-callout \ @@ -85,7 +85,7 @@ setup_script_options () fi if [ -n "$_script" ] ; then - _options="${CTDB_BASE}/events.d/${_script}.options" + _options="${CTDB_BASE}/events/legacy/${_script}.options" else _options="${script_dir}/${script%.script}.options" fi @@ -458,12 +458,12 @@ define_test () [0-9][0-9].*.*) script="${_f%.*}" event="${_f##*.}" - script_dir="${CTDB_BASE}/events.d" + script_dir="${CTDB_BASE}/events/legacy" ;; [0-9][0-9].*) script="$_f" unset event - script_dir="${CTDB_BASE}/events.d" + script_dir="${CTDB_BASE}/events/legacy" ;; *.*) script="${_f%.*}" |