From 6533c595ca41cb7b9d8be7e8a24fa4fadfc0bfae Mon Sep 17 00:00:00 2001 From: MacRimi Date: Mon, 14 Apr 2025 18:59:51 +0200 Subject: [PATCH] Update format-disk.sh --- scripts/storage/format-disk.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/scripts/storage/format-disk.sh b/scripts/storage/format-disk.sh index cc3914f..b53661b 100644 --- a/scripts/storage/format-disk.sh +++ b/scripts/storage/format-disk.sh @@ -8,18 +8,26 @@ # License : MIT (https://raw.githubusercontent.com/MacRimi/ProxMenux/main/LICENSE) # Version : 1.0 # Last Updated: 28/01/2025 -# Description : Select and format unused physical disks +# ========================================================== +# Description : Select and format physical disks # ========================================================== + +# Configuration ============================================ REPO_URL="https://raw.githubusercontent.com/MacRimi/ProxMenux/main" BASE_DIR="/usr/local/share/proxmenux" UTILS_FILE="$BASE_DIR/utils.sh" +VENV_PATH="/opt/googletrans-env" if [[ -f "$UTILS_FILE" ]]; then source "$UTILS_FILE" fi load_language initialize_cache +# ========================================================== + + + get_disk_info() { local disk=$1