summaryrefslogtreecommitdiffstats
path: root/cluster/drbd/TRIGGERS
diff options
context:
space:
mode:
Diffstat (limited to 'cluster/drbd/TRIGGERS')
-rwxr-xr-xcluster/drbd/TRIGGERS4
1 files changed, 3 insertions, 1 deletions
diff --git a/cluster/drbd/TRIGGERS b/cluster/drbd/TRIGGERS
index bb1c400625..dc8159922c 100755
--- a/cluster/drbd/TRIGGERS
+++ b/cluster/drbd/TRIGGERS
@@ -1 +1,3 @@
-on_cast linux cast_self
+if list_find "$DRBD_OPTS" "--with-km"; then
+ on_cast linux cast_self
+fi