Update storage_menu.sh

This commit is contained in:
MacRimi 2025-02-04 17:36:48 +01:00 committed by GitHub
parent 3534dbf02e
commit 76474c529f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -33,8 +33,7 @@ initialize_cache
case $OPTION in case $OPTION in
1) 1)
msg_info2 "$(translate "Running script:") $(translate "Disk Passthrough")..." msg_info2 "$(translate "Running script:") $(translate "Disk") Passthrough..."
#echo -e "\033[33m[INFO] $(translate "Running script:") $(translate "Disk Passthrough")...\033[0m"
bash <(curl -s "$REPO_URL/scripts/disk-passthrough.sh") bash <(curl -s "$REPO_URL/scripts/disk-passthrough.sh")
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
msg_warn "$(translate "Operation cancelled.")" msg_warn "$(translate "Operation cancelled.")"
@ -42,7 +41,7 @@ initialize_cache
fi fi
;; ;;
2) 2)
echo -e "\033[33m[INFO] $(translate "Running script:") $(translate "Import Disk Image")...\033[0m" msg_info2 "$(translate "Running script:") $(translate "Import Disk Image")..."
bash <(curl -s "$REPO_URL/scripts/import-disk-image.sh") bash <(curl -s "$REPO_URL/scripts/import-disk-image.sh")
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
msg_warn "$(translate "Operation cancelled.")" msg_warn "$(translate "Operation cancelled.")"