From b2d64871ebabba004fc852fc83ed80362545953c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rnR?= Date: Sat, 17 Jun 2023 13:02:58 +0200 Subject: [PATCH] update motor --- start.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/start.sh b/start.sh index 2e49c4a..09fccfc 100755 --- a/start.sh +++ b/start.sh @@ -6,13 +6,15 @@ GITDIR=~/git/robotSoSe2022 Choice=$( whiptail --title "Roboter Start und Update" --radiolist \ "Bitte wählen" 20 78 4 \ -"START" "Roboter starten" ON \ +"START" "Roboter 'testmotor' starten" ON \ "UPDATE" "Roboter Software aktualisieren" OFF 3>&1 1>&2 2>&3 ) ExitVAL=$? if [ $ExitVAL = 0 ] ;then # OK case $Choice in "START") echo starte nun robot + cd $GITDIR + ./testmotor.py ;; "UPDATE") cd $GITDIR @@ -26,4 +28,4 @@ if [ $ExitVAL = 0 ] ;then # OK else # abbrechen gedrückt exit 1 -fi \ No newline at end of file +fi