summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nonprism/hostname-blanker/PKGBUILD1
-rw-r--r--nonprism/hostname-blanker/hostname-blanker.install4
2 files changed, 5 insertions, 0 deletions
diff --git a/nonprism/hostname-blanker/PKGBUILD b/nonprism/hostname-blanker/PKGBUILD
index daff713d9..3e321b1e1 100644
--- a/nonprism/hostname-blanker/PKGBUILD
+++ b/nonprism/hostname-blanker/PKGBUILD
@@ -7,6 +7,7 @@ pkgdesc="Service that removes computer hostname by setting it to localhost on st
arch=(any)
license=(GPL2)
depends=('systemd')
+install=hostname-blanker.install
replaces=('hostname-protection')
provides=('hostname-protection')
source=('hostname-blanker.sh'
diff --git a/nonprism/hostname-blanker/hostname-blanker.install b/nonprism/hostname-blanker/hostname-blanker.install
new file mode 100644
index 000000000..aa6599b22
--- /dev/null
+++ b/nonprism/hostname-blanker/hostname-blanker.install
@@ -0,0 +1,4 @@
+post_install() {
+ echo "Enabling hostname-blanker.service..."
+ systemctl enable hostname-blanker.service
+} \ No newline at end of file