add possibility to provide site local modifications to the event system
authorRonnie Sahlberg <sahlberg@samba.org>
Wed, 9 Apr 2008 20:50:12 +0000 (06:50 +1000)
committerRonnie 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

index 9b334225e50310e758724712dea4bac0b1da2ec2..01324b235ea1f0c2fdc990faa9781733b24b3cab 100644 (file)
@@ -323,3 +323,11 @@ startstop_nfslock() {
                ;;
        esac
 }
+
+########################################################
+# load a site local config file
+########################################################
+
+[ -x $CTDB_BASE/rc.local] && {
+       . $CTDB_BASE/rc.local
+}