Whiptail hinzugefügt
This commit is contained in:
1 parent
c8d96fecdc
commit
060575c382
1 file changed
+3
-1
@@ -2,6 +2,8 @@
|
||||
# Startscript für den Roboter
|
||||
# + Updatefunktion
|
||||
|
||||
GITDIR=~/robotSoSe2022
|
||||
|
||||
Choice=$( whiptail --title "Roboter Start und Update" --radiolist \
|
||||
"Bitte wählen" 20 78 4 \
|
||||
"START" "Roboter starten" ON \
|
||||
@@ -13,7 +15,7 @@ if [ $ExitVAL = 0 ] ;then # OK
|
||||
echo starte nun robot
|
||||
;;
|
||||
"UPDATE")
|
||||
cd ~/robotSoSe2022
|
||||
cd $GITDIR
|
||||
git pull
|
||||
;;
|
||||
else)
|
||||
|
||||
Reference in new issue
Block a user