Last active
July 18, 2017 18:42
-
-
Save arevindh/b8f78f71526fefa5d55b4e79481c0e4d to your computer and use it in GitHub Desktop.
update pihole speedtest
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo su | |
#### -> If you dont have speedtest.db in /etc/pihole | |
#### -> cp /var/www/html/admin/scripts/pi-hole/speedtest/speedtest.db /etc/pihole/ <- only if you are on First version | |
# get latest webpage.sh file | |
cd /opt/pihole/ | |
mv webpage.sh webpage.sh.mod | |
wget https://github.com/arevindh/pi-hole/raw/master/advanced/Scripts/webpage.sh | |
#get latest admin repo | |
cd /var/www/html/admin | |
git checkout /var/www/html/admin/scripts/pi-hole/speedtest/speedtest.db | |
#if git remote -v gives something " origin https://github.com/arevindh/AdminLTE " | |
git pull | |
# if git remote -v gives something " mod https://github.com/arevindh/AdminLTE " | |
git pull mod master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment