]> ###2015.12.20a - Added cron settings page - Separated into proper webgui locations - Speedtest settings under Settings - Speedtest Cron Settings under Settings/Scheduler - Speedtest App under Tools/Speedtest ###2015.12.20 - added speedtest-xml script to /usr/sbin/ for cron jobs - added logging to speedtest.php for start and completion of the script ###2015.12.19 - changed icon thanks to hernandito - convert to stand alone script for cron jobs - rearrange setting page layout - one click remove ###2015.12.11c - update package name - update install and remove scripts ###2015.12.10 - add date and time to table - add switchbuttons - update packages ###2015.10.19 - typos ###2015.10.18b - update to python 2.7.9 ###2015.10.18a - update install script ###2015.10.17 - initial commit https://raw.githubusercontent.com/eschultz/unraid6-nerdpack/master/packages/python-2.7.9-x86_64-1.txz 7d5f6d12757c59e5f08ca25bd63aab78 &pkgURL;/pyOpenSSL-0.15.1-x86_64-1_slack.txz b422874df919df6baa10774bd2ddc2cc &pkgURL;/pysetuptools-18.2-x86_64-2_slack.txz 8cb67f040f55b152042752c85b8c68d6 &pkgURL;/pip-7.1.2-x86_64-1_slack.txz 1e0a8d9e281cd075c175eca86aea2130 &gitURL;/archive/&plgname;.txz &gitURL;/archive/&plgname;.md5 #Verify unRAID Version source /etc/unraid-version if [[ ${version:0:3} == 6.0 ]]; then echo "unRAID version 6.1 or higher is required" exit 1 fi # Verify and install plugin package sum1=$(/usr/bin/md5sum &plgpath;/&plgname;.txz) sum2=$(/usr/bin/cat &plgpath;/&plgname;.md5) if [ "${sum1:0:32}" != "${sum2:0:32}" ]; then echo "Wrong 'plugin' package md5 hash." rm &plgpath;/&plgname;.txz rm &plgpath;/&plgname;.md5 exit 1 else upgradepkg --install-new &plgpath;/&plgname;.txz fi # Update file permissions of script chmod +0755 /usr/sbin/speedtest-xml #upgrade pip and install speedtest-cli pip install --upgrade pip pip install speedtest-cli pip install --upgrade speedtest-cli # Cleaning old source files find &plgpath;/ -type f -iname "&name;*.txz" ! -iname "*&version;*" -delete find &plgpath;/ -type f -iname "&name;*.md5" ! -iname "*&version;*" -delete echo "" echo "-----------------------------------------------------------" echo " &name; has been installed." echo " This plugin requires Dynamix webGui to operate" echo " Copyright 2015, &author;" echo " Version: &version;" echo "-----------------------------------------------------------" echo "" removepkg &plgpath;/&plgname;.txz rm -rf &emhttp; rm -f &plgpath;/&plgname;.txz rm -f &plgpath;/&plgname;.md5 # Remove cron entry rm -f /boot/config/plugins/dynamix/speedtest.cron /usr/local/sbin/update_cron echo "" echo "-----------------------------------------------------------" echo " &name; has been removed." echo " Copyright 2015, &author;" echo " Version: &version;" echo "-----------------------------------------------------------" echo ""