diff options
author | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2012-02-06 12:07:08 +1100 |
---|---|---|
committer | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2012-02-06 12:07:08 +1100 |
commit | e3b85bba3fe2a6ff1e4aa258a4ba1f6b17facc9f (patch) | |
tree | acc5fe323aa129f5767e42792771524d980c4168 | |
parent | 64f107f5286e950cc8cc2a973e42be24e6560e81 (diff) | |
download | samba-e3b85bba3fe2a6ff1e4aa258a4ba1f6b17facc9f.tar.gz samba-e3b85bba3fe2a6ff1e4aa258a4ba1f6b17facc9f.tar.xz samba-e3b85bba3fe2a6ff1e4aa258a4ba1f6b17facc9f.zip |
Add a hoook to the ctdb initscript that we can call out to for applications that want to
track and produce audit logs when someone runs "service ctdb <something>"
S1033891
(This used to be ctdb commit 4f4fbd4080a3a7226d3b82637f803c4b71217d39)
-rwxr-xr-x | ctdb/config/ctdb.init | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ctdb/config/ctdb.init b/ctdb/config/ctdb.init index c65ad1a03d..9b30b86004 100755 --- a/ctdb/config/ctdb.init +++ b/ctdb/config/ctdb.init @@ -371,6 +371,8 @@ status() { } +[ -f "$CTDB_BASE/rc.ctdb" ] && "$CTDB_BASE/rc.ctdb" $1 + case "$1" in start) start |