make changes to ctdb event scripts to support NFS-Ganesha.
[metze/ctdb/wip.git] / config / events.d / 60.nfs
index 23f22b70ea9f497b50420368be3b66e370041b92..a8fe24349618af0b7d4abad927a3c972df8ba26c 100755 (executable)
@@ -17,6 +17,8 @@ service_stop="startstop_nfs stop"
 
 loadconfig
 
+[ "$NFS_SERVER_MODE" != "GANESHA" ] || exit 0
+
 ctdb_start_stop_service
 
 is_ctdb_managed_service || exit 0