From bfc074501871806b0e1938f5f152482ba51d4879 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 12 May 2016 18:20:00 -0300 Subject: Check for action at eyaml --- share/hydra/eyaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/share/hydra/eyaml b/share/hydra/eyaml index d6c020f..7a0df8c 100755 --- a/share/hydra/eyaml +++ b/share/hydra/eyaml @@ -23,6 +23,7 @@ hydra_config_load # Parameters BASENAME="`basename $0`" NODE="$1" +ACTION="$2" FQDN="`hydra_get_fqdn_from_nodename $NODE`" shift @@ -63,4 +64,6 @@ if [ ! -e "$PRIV" ]; then fi # Now call eyaml directly -eyaml $* $ARGS +if [ ! -z "$ACTION" ]; then + eyaml $* $ARGS +fi -- cgit v1.2.3