Update linupx-scripts.sh

This commit is contained in:
2022-01-27 22:13:23 -06:00
parent aa4241d550
commit e0f6d339a0

View File

@@ -331,6 +331,28 @@ DSMON_INSTALL() {
read -n 1 -s -p "Press any key to continue";;
esac
}
IPERF_INSTALL() {
read -n 1 -p "Are you sure you wish to install iPerf (Y/n)?" choice
case "$choice" in
[Nn]) INSTALL_MENU;;
* )
echo ""
cd /tmp
wget https://downloads.es.net/pub/iperf/iperf-3.10.1.tar.gz
tar -zxhf iperf-3.10.1.tar.gz
cd /tmp/iperf-3.10.1
./configure
make
make install
ldconfig
echo ""
echo -e "${Green}iPerf has been Installed${Color_Off}"
if [ ${action-x} ]; then exit 0; fi
read -n 1 -s -p "Press any key to continue";;
esac
}
X11VNC_INSTALL() {
read -n 1 -p "Are you sure you wish to install x11vnc (Y/n)?" choice
case "$choice" in
@@ -504,6 +526,7 @@ INSTALL_MENU() {
echo " [4] Filewatcher Install"
echo " [5] BySQL-BU Install"
echo " [6] DSMon Install"
echo " [7] iPerf v3.10.1"
echo ""
echo " [9] Install .bashrc"
echo ""
@@ -529,6 +552,8 @@ INSTALL_MENU() {
INSTALL_MENU;;
6) DSMON_INSTALL
INSTALL_MENU;;
7) IPERF_INSTALL
INSTALL_MENU;;
9) BASHRC_INSTALL
INSTALL_MENU;;
0) LINUPX_UNINSTALL