aboutsummaryrefslogtreecommitdiffstats
path: root/community/minidlna/minidlna.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'community/minidlna/minidlna.pre-install')
-rw-r--r--community/minidlna/minidlna.pre-install7
1 files changed, 7 insertions, 0 deletions
diff --git a/community/minidlna/minidlna.pre-install b/community/minidlna/minidlna.pre-install
new file mode 100644
index 0000000000..e06c1c7c1a
--- /dev/null
+++ b/community/minidlna/minidlna.pre-install
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+addgroup -S minidlna 2>/dev/null
+adduser -S -D -H -h /var/run/minidlna -s /sbin/nologin -G minidlna \
+ -g minidlna minidlna 2>/dev/null
+
+exit 0