aboutsummaryrefslogtreecommitdiffstats
path: root/testing/home-assistant/home-assistant.pre-install
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-11-25 20:39:40 +0100
committerCarlo Landmeter <clandmeter@gmail.com>2016-11-25 20:39:46 +0100
commit381e9469b4315fc3a810adc771f9bacc4246d9b7 (patch)
treeadaeb966c40e22d19f3157e8e6d865be40e9a535 /testing/home-assistant/home-assistant.pre-install
parent0d052d0578de9e3674bd66da6686dcd7f56b2cea (diff)
downloadaports-381e9469b4315fc3a810adc771f9bacc4246d9b7.tar.bz2
aports-381e9469b4315fc3a810adc771f9bacc4246d9b7.tar.xz
testing/home-assistant: new aport
Diffstat (limited to 'testing/home-assistant/home-assistant.pre-install')
-rw-r--r--testing/home-assistant/home-assistant.pre-install6
1 files changed, 6 insertions, 0 deletions
diff --git a/testing/home-assistant/home-assistant.pre-install b/testing/home-assistant/home-assistant.pre-install
new file mode 100644
index 0000000000..b94ac9b418
--- /dev/null
+++ b/testing/home-assistant/home-assistant.pre-install
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+addgroup -S hass 2>/dev/null
+adduser -S -D -h /var/lib/hass -s /sbin/nologin -G hass -g "Home Assistent" hass 2>/dev/null
+
+exit 0