diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2020-12-18 18:18:49 +0100 |
---|---|---|
committer | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2020-12-18 18:18:49 +0100 |
commit | 81176a3c30d8f66f9003217342e57ef99b029c3a (patch) | |
tree | 2165aaa937481bab325e254e1bb26d4c85af9445 /farm/magnus/screen-magnus | |
parent | 0b543b9783d19345b5327361f3c9f17801bfd5c9 (diff) | |
parent | ca4bec8e62e92cd695307f461ee58d60eba68d52 (diff) |
Merge remote-tracking branch 'origin/farm-magnus'
There is some info in this branch which I needed and missed because it
was not in the master. Merge it and continue the work there.
Diffstat (limited to 'farm/magnus/screen-magnus')
-rwxr-xr-x | farm/magnus/screen-magnus | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/farm/magnus/screen-magnus b/farm/magnus/screen-magnus new file mode 100755 index 0000000..a54c8f9 --- /dev/null +++ b/farm/magnus/screen-magnus @@ -0,0 +1,10 @@ +#!/bin/bash + +if [ $# == 0 ]; then + TARGET=${0#*-} +else + TARGET=$1 +fi + +scp $(dirname $0)/screenrc $TARGET-mgr: +ssh $TARGET-mgr -t screen -x -R -S ttyS1 -c screenrc /dev/ttyS1 |