git.samba.org
/
sahlberg
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97ded8a
)
add a direcotry where multiple local scripts can be added to run when executing event...
author
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Mon, 19 Oct 2009 05:22:15 +0000
(16:22 +1100)
committer
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Mon, 19 Oct 2009 05:22:15 +0000
(16:22 +1100)
config/functions
patch
|
blob
|
history
diff --git
a/config/functions
b/config/functions
index 1117189924f048a8965f22f72e1d0b6060f878b9..1d1d0548d60f1e08a3c726e1800a9d0efacca060 100644
(file)
--- a/
config/functions
+++ b/
config/functions
@@
-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
+}
+