Update linupx-scripts.sh

This commit is contained in:
2023-07-07 20:40:32 -05:00
parent 744bf945a3
commit ae7777e711

View File

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