Simple update Pi-hole and your Block-List. If Pi-hole is not installed, the script will install it for you.
You could also just use the original pihole script, to update your system, but this will not work, if you changed the webdir for the admin webinterface. So I implemented this small update function.
You can either clone the completely repo, or just download the scripts you need.
wget https://github.com/gxf0/lazy_pi/blob/master/scripts/lazy_pi
chmod +x lazy_pi
./lazy_pi
You can define several variables at the beginning of the script.
pi_dir="/opt/pihole"
pi_webdir="/var/www/xf0/pihole"
./lazy_pi <option>
-u --update update/install pi-hole
-l --list update lists
-s --screen show terminal output
-x --debug debug (dev-debug.log)
-h --help show this help
Examples:
Debug script :
./lazy_pi -x
./lazy_pi --debug
- Veit - gxf0
This project is licensed under the MIT License - see the LICENSE.md file for details
- feel free to copy and adjust the scripts for your need
- feel free to improve the scripts - maybe you could also notice me - haha
- feel free to contact me, if you have any question