update motor
This commit is contained in:
1 parent
097c172339
commit
b2d64871eb
1 file changed
+3
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user