From b902e0935089c8cb23ed32b1c8f4239eb3b509bc Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Thu, 10 Apr 2008 06:50:12 +1000 Subject: [PATCH] add possibility to provide site local modifications to the event system through a /etc/ctdb/rc.local script that is sources by /etc/ctdb/functions (This used to be ctdb commit a5b7dd97e3faf0c4f289240307d0e22a67cf2353) --- ctdb/config/functions | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ctdb/config/functions b/ctdb/config/functions index 9b334225e50..01324b235ea 100644 --- a/ctdb/config/functions +++ b/ctdb/config/functions @@ -323,3 +323,11 @@ startstop_nfslock() { ;; esac } + +######################################################## +# load a site local config file +######################################################## + +[ -x $CTDB_BASE/rc.local] && { + . $CTDB_BASE/rc.local +}