summaryrefslogtreecommitdiffstats
path: root/ctdb/config
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2010-11-18 13:23:40 +1100
committerRonnie Sahlberg <ronniesahlberg@gmail.com>2010-11-18 13:36:40 +1100
commitc00db6f271a2d230e2fc28a14846f12a5b95c567 (patch)
tree57cbf8dda63c0a1406ca76825ca93bd614e8eb89 /ctdb/config
parenta2af87482be188c2a8be87d37b65997d3d71e824 (diff)
downloadsamba-c00db6f271a2d230e2fc28a14846f12a5b95c567.tar.gz
samba-c00db6f271a2d230e2fc28a14846f12a5b95c567.tar.xz
samba-c00db6f271a2d230e2fc28a14846f12a5b95c567.zip
60.nfs eventscript should do nothing if NFS isn't managed by CTDB.
Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit 582e5cd077501e8d4131a9c7981781471308edfd)
Diffstat (limited to 'ctdb/config')
-rwxr-xr-xctdb/config/events.d/60.nfs2
1 files changed, 2 insertions, 0 deletions
diff --git a/ctdb/config/events.d/60.nfs b/ctdb/config/events.d/60.nfs
index 8889cadcc2..ff56166ce1 100755
--- a/ctdb/config/events.d/60.nfs
+++ b/ctdb/config/events.d/60.nfs
@@ -19,6 +19,8 @@ loadconfig
ctdb_start_stop_service
+is_ctdb_managed_service || exit 0
+
case "$1" in
init)
# read statd from persistent database