From 0539d581dd588e494e6a42ab7335226162652f1e Mon Sep 17 00:00:00 2001 From: David Kunz Date: Mon, 12 Jul 2021 15:37:46 +0200 Subject: Adding fencing scripts. --- libexec/fence/functions/stop | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 libexec/fence/functions/stop (limited to 'libexec/fence/functions/stop') diff --git a/libexec/fence/functions/stop b/libexec/fence/functions/stop new file mode 100755 index 0000000..5db1616 --- /dev/null +++ b/libexec/fence/functions/stop @@ -0,0 +1,8 @@ +#!/bin/sh + +set -e + +NAME="${@}" + +sudo cnt stop -n ${NAME} +exit $? -- cgit v1.2.3