aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-05-12 18:20:00 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-05-12 18:20:00 -0300
commitbfc074501871806b0e1938f5f152482ba51d4879 (patch)
tree513ddf525d48dbf01f6cc41fd4b3c30d53d8c0b4 /share
parentabcb2fe5077600937337f91063594fe2e1779f68 (diff)
downloadhydra-bfc074501871806b0e1938f5f152482ba51d4879.tar.gz
hydra-bfc074501871806b0e1938f5f152482ba51d4879.tar.bz2
Check for action at eyaml
Diffstat (limited to 'share')
-rwxr-xr-xshare/hydra/eyaml5
1 files changed, 4 insertions, 1 deletions
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