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:
401fb01
)
add possibility to provide site local modifications to the event system
author
Ronnie Sahlberg
<sahlberg@samba.org>
Wed, 9 Apr 2008 20:50:12 +0000
(06:50 +1000)
committer
Ronnie Sahlberg
<sahlberg@samba.org>
Wed, 9 Apr 2008 20:50:12 +0000
(06:50 +1000)
through a /etc/ctdb/rc.local script that is sources by /etc/ctdb/functions
config/functions
patch
|
blob
|
history
diff --git
a/config/functions
b/config/functions
index 9b334225e50310e758724712dea4bac0b1da2ec2..01324b235ea1f0c2fdc990faa9781733b24b3cab 100644
(file)
--- a/
config/functions
+++ b/
config/functions
@@
-323,3
+323,11
@@
startstop_nfslock() {
;;
esac
}
+
+########################################################
+# load a site local config file
+########################################################
+
+[ -x $CTDB_BASE/rc.local] && {
+ . $CTDB_BASE/rc.local
+}