summarylogtreecommitdiffstats
path: root/pi-hole-standalone.install
diff options
context:
space:
mode:
authormax.bra2016-01-13 13:49:18 +0100
committermax.bra2016-01-13 13:49:18 +0100
commit797d3c71d934d27b98f4dad610df2a225b18e244 (patch)
tree2687367cb55a1be94c0666604efb609eb4fc6871 /pi-hole-standalone.install
downloadaur-797d3c71d934d27b98f4dad610df2a225b18e244.tar.gz
Initial import. Version 2.2
Diffstat (limited to 'pi-hole-standalone.install')
-rw-r--r--pi-hole-standalone.install15
1 files changed, 15 insertions, 0 deletions
diff --git a/pi-hole-standalone.install b/pi-hole-standalone.install
new file mode 100644
index 000000000000..eeda1d717c98
--- /dev/null
+++ b/pi-hole-standalone.install
@@ -0,0 +1,15 @@
+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
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ rm -R /etc/pihole/
+}