From: Silvio Rhatto Date: Mon, 29 Apr 2013 13:23:29 +0000 (-0300) Subject: Assh wrapper: use supplied parameter as hostname X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=61dfba7194d79f363092404338802a7991a2dc46;p=scripts.git Assh wrapper: use supplied parameter as hostname --- diff --git a/assh b/assh index 33e2cae..07e75f0 100755 --- a/assh +++ b/assh @@ -13,10 +13,10 @@ fi if [ "$BASENAME" == "asshs" ]; then if [ "$COMMAND" == "root" ]; then - autossh $DEST.`facter domain` -t -- sudo screen -x + autossh $DEST -t -- sudo screen -x else - autossh $DEST.`facter domain` -t -- screen -x $COMMAND + autossh $DEST -t -- screen -x $COMMAND fi else - autossh $DEST.`facter domain` -t -- $COMMAND + autossh $DEST -t -- $COMMAND fi