From 32b24c50251296e0b43cf43bc25610a45b6866c8 Mon Sep 17 00:00:00 2001 From: lemke_h Date: Wed, 9 Mar 2022 07:00:59 +0100 Subject: [PATCH] added undulator pointing --- undulator-pointing | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 undulator-pointing diff --git a/undulator-pointing b/undulator-pointing new file mode 100755 index 0000000..5c47497 --- /dev/null +++ b/undulator-pointing @@ -0,0 +1,8 @@ +#!/bin/bash +if [ -z "$1" ] +then + USER=$(zenity --entry --text="Enter user name for sf-laucher") +else + USER=$1 +fi +ssh -J $1@sf-gw $1@sf-lca "cd /sf/bd/applications/UndulatorOrbit/current; bash runUndulatorOrbit.sh"