Auto Updates Homebridge & Pi-Hole

After doing some research, I couldn’t find any reason not to automatically update your Raspberry Pi and the services Pi-Hole and Homebridge. That increases security, and you also don’t have to log into the system repeatedly and can effectively disable SSH. I wrote the following script and have it run once a day via Cron. Maybe someone else can use this. echo "####### UPDATE DES SYSTEMS #######" sudo apt-get update sudo apt-get upgrade -y sudo apt-get autoremove -y sudo apt-get dist-upgrade -y sudo apt-get autoclean echo "####### UPDATE VON PI-HOLE #######" pihole -up pihole updateGravity You’ll need to adapt the Homebridge part to your plugins. ...

February 25, 2019 · 1 min · 122 words