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 \
|
Choice=$( whiptail --title "Roboter Start und Update" --radiolist \
|
||||||
"Bitte wählen" 20 78 4 \
|
"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 )
|
"UPDATE" "Roboter Software aktualisieren" OFF 3>&1 1>&2 2>&3 )
|
||||||
ExitVAL=$?
|
ExitVAL=$?
|
||||||
if [ $ExitVAL = 0 ] ;then # OK
|
if [ $ExitVAL = 0 ] ;then # OK
|
||||||
case $Choice in
|
case $Choice in
|
||||||
"START")
|
"START")
|
||||||
echo starte nun robot
|
echo starte nun robot
|
||||||
|
cd $GITDIR
|
||||||
|
./testmotor.py
|
||||||
;;
|
;;
|
||||||
"UPDATE")
|
"UPDATE")
|
||||||
cd $GITDIR
|
cd $GITDIR
|
||||||
|
|||||||
Reference in new issue
Block a user