Skip to content

Instantly share code, notes, and snippets.

@arevindh
Last active July 18, 2017 18:42
Show Gist options
  • Save arevindh/b8f78f71526fefa5d55b4e79481c0e4d to your computer and use it in GitHub Desktop.
Save arevindh/b8f78f71526fefa5d55b4e79481c0e4d to your computer and use it in GitHub Desktop.
update pihole speedtest
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