diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2016-05-12 18:20:00 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2016-05-12 18:20:00 -0300 |
commit | bfc074501871806b0e1938f5f152482ba51d4879 (patch) | |
tree | 513ddf525d48dbf01f6cc41fd4b3c30d53d8c0b4 /share | |
parent | abcb2fe5077600937337f91063594fe2e1779f68 (diff) | |
download | hydra-bfc074501871806b0e1938f5f152482ba51d4879.tar.gz hydra-bfc074501871806b0e1938f5f152482ba51d4879.tar.bz2 |
Check for action at eyaml
Diffstat (limited to 'share')
-rwxr-xr-x | share/hydra/eyaml | 5 |
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 |