diff --git a/linupx-scripts.sh b/linupx-scripts.sh index 4b35c13..ac4c1c2 100755 --- a/linupx-scripts.sh +++ b/linupx-scripts.sh @@ -353,6 +353,24 @@ IPERF_INSTALL() { read -n 1 -s -p "Press any key to continue";; esac } +SPEEDTEST_INSTALL() { + read -n 1 -p "Are you sure you wish to install SpeedTest (Y/n)?" choice + case "$choice" in + [Nn]) INSTALL_MENU;; + * ) + echo "" + + $APTFUNC remove -y speedtest speedtest-cli + pip uninstall speedtest speedtest-cli -y + curl -s https://install.speedtest.net/app/cli/install.deb.sh | sudo bash + $APTFUNC install -y speedtest + + echo "" + echo -e "${Green}SpeedTest 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