add a direcotry where multiple local scripts can be added to run when executing event...
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Mon, 19 Oct 2009 05:22:15 +0000 (16:22 +1100)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Mon, 19 Oct 2009 05:22:15 +0000 (16:22 +1100)
config/functions

index 1117189924f048a8965f22f72e1d0b6060f878b9..1d1d0548d60f1e08a3c726e1800a9d0efacca060 100644 (file)
@@ -540,4 +540,10 @@ ctdb_counter_limit () {
        . $CTDB_BASE/rc.local
 }
 
+[ -d $CTDB_BASE/rc.local.d ] && {
+       for i in $CTDB_BASE/rc.local.d/* ; do
+               [ -x "$i" ] && . "$i"
+       done
+}
+