From ae7777e711114ff42f0e94bf017abeca7f68b4ea Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Fri, 7 Jul 2023 20:40:32 -0500 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 68c195f..49f2fe0 100755 --- a/linupx-scripts.sh +++ b/linupx-scripts.sh @@ -598,6 +598,18 @@ FW_INSTALL() { exit 0;; esac } +DSMON_INSTALL() { + read -n 1 -p "Are you sure you wish to install DSMon (Y/n)?" choice + case "$choice" in + [Nn]) INSTALL_MENU;; + * ) + echo "" + bash <(curl -sL https://git.schroedercity.com/voltron/Misc-Scripts/raw/master/install-dsmon.sh) + echo "" + if [ ${action-x} ]; then exit 0; fi + read -n 1 -s -p "Press any key to continue";; + esac +} ENABLE_REMOTESYSLOG(){ read -n 1 -p "Are you sure you wish to enable sending syslogs to ${RemoteSyslogServer} (Y/n)?" choice case "$choice" in @@ -815,6 +827,7 @@ INSTALL_MENU() { echo " [7] iPerf v3.10.1" echo " [8] Speedtest.net" echo "" + echo " [D] Install DSMon" echo " [N] Install Netdata Agent" echo " [P] Install Postfix" echo " [U] Install UrBackup Client" @@ -852,6 +865,8 @@ INSTALL_MENU() { INSTALL_MENU;; [Uu]) URBACKUP_INSTALL INSTALL_MENU;; + [Dd]) DSMON_INSTALL + INSTALL_MENU;; [Pp]) POSTFIX_INSTALL INSTALL_MENU;; [Nn]) NETDATA_INSTALL