mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-07-05 15:06:53 +00:00
Update storage_menu.sh
This commit is contained in:
parent
3534dbf02e
commit
76474c529f
@ -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.")"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user