Whiptail hinzugefügt

This commit is contained in:
br committed 2023-05-12 18:38:29 +02:00
1 parent c8d96fecdc
commit 060575c382
1 file changed
+3 -1
+3 -1
View File
@@ -2,6 +2,8 @@
# Startscript für den Roboter # Startscript für den Roboter
# + Updatefunktion # + Updatefunktion
GITDIR=~/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 starten" ON \
@@ -13,7 +15,7 @@ if [ $ExitVAL = 0 ] ;then # OK
echo starte nun robot echo starte nun robot
;; ;;
"UPDATE") "UPDATE")
cd ~/robotSoSe2022 cd $GITDIR
git pull git pull
;; ;;
else) else)