1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
post_install() { cat <<- EOF ==> please read configuration instructions at /usr/share/doc/pihole/configuration ==> first install/update run... EOF chown -R http.http /srv/http/pihole systemd-tmpfiles --create pi-hole.conf /usr/bin/gravity.sh > /dev/null } post_upgrade() { post_install $1 } post_remove() { rm -R /etc/pihole/ rm /run/log/pihole.log }