summaryrefslogtreecommitdiff
path: root/nonprism/hostname-blanker/hostname-blanker.service
diff options
context:
space:
mode:
authorGaming4JC <g4jc@openmailbox.org>2017-01-07 17:15:56 -0500
committerGaming4JC <g4jc@openmailbox.org>2017-01-07 17:15:56 -0500
commitf11691c637f27c032f2136abada397fc11253946 (patch)
tree1da24f210d7acec05156634d5fe1ed23750f6e7b /nonprism/hostname-blanker/hostname-blanker.service
parentc24bdf38fe89d74cfad9cc41a03de18a94159b28 (diff)
downloadabslibre-f11691c637f27c032f2136abada397fc11253946.tar.gz
abslibre-f11691c637f27c032f2136abada397fc11253946.tar.bz2
abslibre-f11691c637f27c032f2136abada397fc11253946.zip
add hostname-blanker
Diffstat (limited to 'nonprism/hostname-blanker/hostname-blanker.service')
-rw-r--r--nonprism/hostname-blanker/hostname-blanker.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/nonprism/hostname-blanker/hostname-blanker.service b/nonprism/hostname-blanker/hostname-blanker.service
new file mode 100644
index 000000000..3e5362b3a
--- /dev/null
+++ b/nonprism/hostname-blanker/hostname-blanker.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Sets hostname before network comes online
+Before=network-pre.target
+
+[Service]
+Type=oneshot
+ExecStart=/bin/bash /opt/hostname-blanker
+RemainAfterExit=false
+
+[Install]
+WantedBy=network-pre.target