mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2026-04-25 08:56:21 +00:00
Update scripts
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
# Copyright : (c) 2024 MacRimi
|
||||
# License : GPL-3.0
|
||||
# Version : 2.0
|
||||
# Last Updated: 06/04/2026
|
||||
# Last Updated: 07/04/2026
|
||||
# ==========================================================
|
||||
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
@@ -30,15 +30,21 @@ initialize_cache
|
||||
|
||||
while true; do
|
||||
OPTION=$(dialog --colors --backtitle "ProxMenux" \
|
||||
--title "$(translate "Disk and Storage Manager Menu")" \
|
||||
--menu "\n$(translate "Select an option:")" 24 84 14 \
|
||||
--title "$(translate "Disk Manager")" \
|
||||
--menu "\n$(translate "Select an option:")" 24 78 16 \
|
||||
"" "\Z4──────────────────────── VM ───────────────────────────\Zn" \
|
||||
"1" "$(translate "Import Disk to VM")" \
|
||||
"2" "$(translate "Import Disk Image to VM")" \
|
||||
"3" "$(translate "Add Controller or NVMe PCIe to VM")" \
|
||||
"" "" \
|
||||
"" "\Z4──────────────────────── LXC ──────────────────────────\Zn" \
|
||||
"4" "$(translate "Import Disk to LXC")" \
|
||||
"" "" \
|
||||
"" "\Z4────────────────────── Utilities ───────────────────────\Zn" \
|
||||
"5" "$(translate "Format / Wipe Physical Disk (Safe)")" \
|
||||
"6" "$(translate "SMART Disk Health & Test")" \
|
||||
"7" "$(translate "Manual CLI Guide (Disk and Storage Manager)")" \
|
||||
"" "" \
|
||||
"0" "$(translate "Return to Main Menu")" \
|
||||
2>&1 >/dev/tty
|
||||
) || { exec bash "$LOCAL_SCRIPTS/menus/main_menu.sh"; }
|
||||
@@ -56,6 +62,15 @@ while true; do
|
||||
4)
|
||||
bash "$LOCAL_SCRIPTS/storage/disk-passthrough_ct.sh"
|
||||
;;
|
||||
5)
|
||||
bash "$LOCAL_SCRIPTS/storage/format-disk.sh"
|
||||
;;
|
||||
6)
|
||||
bash "$LOCAL_SCRIPTS/storage/smart-disk-test.sh"
|
||||
;;
|
||||
7)
|
||||
bash "$LOCAL_SCRIPTS/storage/disk-storage-manual-guide.sh"
|
||||
;;
|
||||
0)
|
||||
exec bash "$LOCAL_SCRIPTS/menus/main_menu.sh"
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user