diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-04-29 10:23:29 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-04-29 10:23:29 -0300 |
commit | 61dfba7194d79f363092404338802a7991a2dc46 (patch) | |
tree | 5964ad7342e1f034539f378b2952f7b6fadb40fb /assh | |
parent | 608f366c0d6e04a7035493ce4148cd7c1735ea9f (diff) | |
download | scripts-61dfba7194d79f363092404338802a7991a2dc46.tar.gz scripts-61dfba7194d79f363092404338802a7991a2dc46.tar.bz2 |
Assh wrapper: use supplied parameter as hostname
Diffstat (limited to 'assh')
-rwxr-xr-x | assh | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |