Actualiser toolbox
This commit is contained in:
parent
9f4f039d31
commit
e6eb8941f8
1 changed files with 0 additions and 3 deletions
3
toolbox
3
toolbox
|
@ -39,8 +39,5 @@ CHOICE=$(whiptail --title "TyOS Setup Toolbox" --menu "Choose a script to run:"
|
||||||
# Check if the user made a selection
|
# Check if the user made a selection
|
||||||
if [[ -n "$CHOICE" ]]; then
|
if [[ -n "$CHOICE" ]]; then
|
||||||
SCRIPT_PATH="${SCRIPT_MAP[$CHOICE]}"
|
SCRIPT_PATH="${SCRIPT_MAP[$CHOICE]}"
|
||||||
whiptail --msgbox "Running: $CHOICE" 10 40
|
|
||||||
"$SCRIPT_PATH"
|
"$SCRIPT_PATH"
|
||||||
else
|
|
||||||
whiptail --msgbox "No script selected." 10 40
|
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue