aboutsummaryrefslogtreecommitdiffstats
path: root/non-free/unifi/unifi.pre-install
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@alpinelinux.org>2017-12-05 23:37:56 +0000
committerCarlo Landmeter <clandmeter@alpinelinux.org>2017-12-05 23:39:27 +0000
commite29a96d23c931d911574bc297c7752214859303c (patch)
tree044398a2c892ffc1b00237cf752d754e096bbc78 /non-free/unifi/unifi.pre-install
parent1b6cb62539ac826131cbbb015b5fa2833db42fbe (diff)
downloadaports-e29a96d23c931d911574bc297c7752214859303c.tar.gz
aports-e29a96d23c931d911574bc297c7752214859303c.tar.bz2
aports-e29a96d23c931d911574bc297c7752214859303c.tar.xz
non-free/unifi: new aport
ref: https://github.com/alpinelinux/aports/pull/2530
Diffstat (limited to 'non-free/unifi/unifi.pre-install')
-rw-r--r--non-free/unifi/unifi.pre-install6
1 files changed, 6 insertions, 0 deletions
diff --git a/non-free/unifi/unifi.pre-install b/non-free/unifi/unifi.pre-install
new file mode 100644
index 0000000000..382c3ca863
--- /dev/null
+++ b/non-free/unifi/unifi.pre-install
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+addgroup -S unifi 2>/dev/null
+adduser -S -D -H -h /var/lib/unifi -s /sbin/nologin -G unifi -g unifi unifi 2>/dev/null
+
+exit 0