Von Phill, 2 Monate vorher, geschrieben in Bash.
Einbetten
  1. !/bin/bash
  2.  
  3.  
  4. #
  5. #
  6. #   1)  apt-get install dos2unix
  7. #
  8. #   2)  wget -O /tmp/speedtest-ookla https://cc1.at/speedtest-ookla && dos2unix /tmp/speedtest-ookla && bash /tmp/speedtest-ookla && rm /tmp/speedtest-ookla
  9. #
  10. #
  11.  
  12.  
  13. apt-get install gnupg1 apt-transport-https dirmngr lsb-release -y
  14.  
  15. export INSTALL_KEY=379CE192D401AB61
  16.  
  17. export DEB_DISTRO=$(lsb_release -sc)
  18.  
  19. apt-key adv --keyserver keyserver.ubuntu.com --recv-keys $INSTALL_KEY
  20.  
  21. echo "deb https://ookla.bintray.com/debian ${DEB_DISTRO} main" | tee /etc/apt/sources.list.d/speedtest.list
  22.  
  23. apt-get update
  24.  
  25. apt-get remove speedtest-cli -y
  26.  
  27. apt-get install speedtest -y