File 0002-nfsserver-fix-path-to-sm-notify.patch of Package resource-agents
From 0fe969d6b2a7269aba16f676558927f76fc38dd4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Kristoffer=20Gr=C3=B6nlund?= <krig@koru.se>
Date: Wed, 1 Feb 2017 14:52:01 +0100
Subject: [PATCH 2/5] nfsserver: fix path to sm-notify
---
heartbeat/nfsserver | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/heartbeat/nfsserver b/heartbeat/nfsserver
index bac5bbbb..6e32d37a 100755
--- a/heartbeat/nfsserver
+++ b/heartbeat/nfsserver
@@ -27,7 +27,7 @@ do
done
DEFAULT_NOTIFY_CMD=`which sm-notify`
-DEFAULT_NOTIFY_CMD=${DEFAULT_NOTIFY_CMD:-"/sbin/sm-notify"}
+DEFAULT_NOTIFY_CMD=${DEFAULT_NOTIFY_CMD:-"/usr/sbin/sm-notify"}
DEFAULT_NOTIFY_FOREGROUND="false"
DEFAULT_RPCPIPEFS_DIR="/var/lib/nfs/rpc_pipefs"
EXEC_MODE=0
--
2.13.2