Skip to content

Instantly share code, notes, and snippets.

@arevindh
Last active December 13, 2017 16:59
Show Gist options
  • Save arevindh/c9d0ef12ab76ba9ab5e3401d403b3562 to your computer and use it in GitHub Desktop.
Save arevindh/c9d0ef12ab76ba9ab5e3401d403b3562 to your computer and use it in GitHub Desktop.
update Pihole to 3.2
sudo su
#get latest admin repo
cd /var/www/html/admin
#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
### If there is any problems with pulls try
cd /var/www/html/
mv admin 3.1_admin
git clone https://github.com/arevindh/AdminLTE admin
#Update pihole using default command
pihole -up
# 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
chmod +x webpage.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment