Update linupx-scripts.sh

This commit is contained in:
2024-11-30 13:36:36 -06:00
parent 9c41b3b12d
commit 0e383c164c

View File

@@ -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;;