diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2020-03-16 10:23:27 +0100 |
---|---|---|
committer | Geert Uytterhoeven <geert+renesas@glider.be> | 2020-03-16 10:23:27 +0100 |
commit | 1a43a66986f91df9f0d0a2377394deab74422fb5 (patch) | |
tree | d9643ba3629f0de5466833339abfde6b9e2920fb /farm/magnus/screen-magnus | |
parent | 7457c4d2416d39b53ed7a55184fa39fed4ba2d8e (diff) |
farm: magnus: Add basic tools
Add basic tools to use Magnus' board farm.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
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 |