update motor

This commit is contained in:
br committed 2023-06-17 13:02:58 +02:00
1 parent 097c172339
commit b2d64871eb
1 file changed
+3 -1
+3 -1
View File
@@ -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