From 0e383c164c8db4521f6925a6e17095ef12847f7c Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 30 Nov 2024 13:36:36 -0600 Subject: [PATCH] Update linupx-scripts.sh --- linupx-scripts.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/linupx-scripts.sh b/linupx-scripts.sh index f32a889..a05465c 100755 --- a/linupx-scripts.sh +++ b/linupx-scripts.sh @@ -246,6 +246,18 @@ EXIT1() { exit 0 } +RUN_STORAGE_TESTS(){ + read -n 1 -p "Are you sure you wish to run Storage Speed Tests (Y/n)?" choice + case "$choice" in + [Nn]) MISC_MENU;; + * ) + echo + bash <(curl -sL https://git.schroedercity.com/voltron/Misc-Scripts/raw/branch/master/storage-test.sh) + echo + [ ${action-x} ] && exit 0 + ENTER2CONTINUE + esac +} WEBMIN_INSTALL() { read -n 1 -p "Are you sure you wish to install Webmin (Y/n)?" choice case "$choice" in @@ -977,6 +989,8 @@ MISC_MENU() { echo echo -e " [${idsCL[Yellow]}4${idsCL[Default]}] Cleanup leftover Docker container files" echo + echo -e " [${idsCL[Yellow]}5${idsCL[Default]}] Run Storage Speed Tests" + echo if [ "$(IP_ALLOWED `hostname -I`)" == "true" ]; then echo -e " [${idsCL[Yellow]}U${idsCL[Default]}] Update copycerts.sh to new LB LE folder path " echo -e " [${idsCL[Yellow]}D${idsCL[Default]}] Update DNS (10.10.10.5, 10.2.1.2)" @@ -1004,6 +1018,7 @@ MISC_MENU() { ENTER2CONTINUE MISC_MENU;; 4) DOCKER_CLEANUP; MISC_MENU;; + 5) RUN_STORAGE_TESTS; MISC_MENU;; [Uu]) COPYCERTS_UPDATE menu; MISC_MENU;; [Dd]) DNSUPDATE; MISC_MENU;; [Oo]) DNSUPDATE offsite; MISC_MENU;;