Last active
December 13, 2017 16:59
-
-
Save arevindh/c9d0ef12ab76ba9ab5e3401d403b3562 to your computer and use it in GitHub Desktop.
update Pihole to 3.2
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 | |
#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