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