From de891f3fb05a6487616e6607dd3cef1856f8e482 Mon Sep 17 00:00:00 2001 From: Javi Fontan Date: Wed, 27 Apr 2016 19:39:01 +0200 Subject: [PATCH] feature #4139: create .monitor file in ssh_make_path --- src/mad/sh/scripts_common.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/mad/sh/scripts_common.sh b/src/mad/sh/scripts_common.sh index 9816d56988..6aa3d04e56 100644 --- a/src/mad/sh/scripts_common.sh +++ b/src/mad/sh/scripts_common.sh @@ -433,12 +433,18 @@ EOF echo "$SSH_EXEC_OUT" } -#Creates path ($2) at $1 +# Creates path ($2) at $1. If third parameter is "monitor" creates the +# file ".monitor" in the directory. Used for ssh disk monitoring function ssh_make_path { SSH_EXEC_ERR=`$SSH $1 sh -s 2>&1 1>/dev/null <