summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaming4JC <g4jc@openmailbox.org>2017-01-07 17:35:51 -0500
committerGaming4JC <g4jc@openmailbox.org>2017-01-07 17:35:51 -0500
commitfb8b062061ab513d52a3d44b858b499667b8b8c3 (patch)
treebdbec787919095ed7a38d7208411805b1aadf4c9
parente1e0cb468ca7ce23908982f975ee6abcd6902000 (diff)
downloadabslibre-fb8b062061ab513d52a3d44b858b499667b8b8c3.tar.gz
abslibre-fb8b062061ab513d52a3d44b858b499667b8b8c3.tar.bz2
abslibre-fb8b062061ab513d52a3d44b858b499667b8b8c3.zip
add service to hostname-blanker
-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