aboutsummaryrefslogtreecommitdiffstats
path: root/main/mpd/mpd.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'main/mpd/mpd.pre-install')
-rw-r--r--main/mpd/mpd.pre-install4
1 files changed, 4 insertions, 0 deletions
diff --git a/main/mpd/mpd.pre-install b/main/mpd/mpd.pre-install
new file mode 100644
index 0000000000..4baabab1a8
--- /dev/null
+++ b/main/mpd/mpd.pre-install
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+adduser -h /var/lib/mpd -s /bin/false -G audio -D mpd 2>/dev/null || true
+