summaryrefslogtreecommitdiffstats
path: root/testing/minidlna/minidlna.pre-install
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-11-19 20:21:31 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-11-19 20:21:31 +0000
commit4ab6246313f2d357aa6aafe30b0711ad9e26e56c (patch)
treecb7a750b32c98194cf9e7ab9ea1b17cd7de403fe /testing/minidlna/minidlna.pre-install
parent044801b10f02ef9a8419a68820fea7b5ed60d7ab (diff)
downloadaports-4ab6246313f2d357aa6aafe30b0711ad9e26e56c.tar.bz2
aports-4ab6246313f2d357aa6aafe30b0711ad9e26e56c.tar.xz
testing/minidlna: update to 1.0.25 and misc fixes
- create minidlna user - fix initd script - ship default config
Diffstat (limited to 'testing/minidlna/minidlna.pre-install')
-rw-r--r--testing/minidlna/minidlna.pre-install6
1 files changed, 6 insertions, 0 deletions
diff --git a/testing/minidlna/minidlna.pre-install b/testing/minidlna/minidlna.pre-install
new file mode 100644
index 000000000..78fb2d47d
--- /dev/null
+++ b/testing/minidlna/minidlna.pre-install
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+addgroup -S minidlna 2>/dev/null
+adduser -S -H -h /var/run/minidlna -s /sbin/nologin -D -G minidlna \
+ minidlna 2>/dev/null
+exit 0