summaryrefslogtreecommitdiff
path: root/package/mpd/files
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-06-14 18:15:19 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-06-14 18:15:19 +0200
commit3a48b9fa45749cd9b48f134d77d321e9405da992 (patch)
tree159f2c64e4253653a7975641792ff1faa52c9d48 /package/mpd/files
parent943041c015d5932d9723e58af595dae696eda5e1 (diff)
alix1c optimization
- use LZMA for kernel - use TICKLESS system - check mpd user is in group audio - fix some kernel module dependencies
Diffstat (limited to 'package/mpd/files')
-rw-r--r--package/mpd/files/mpd.init6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/mpd/files/mpd.init b/package/mpd/files/mpd.init
index d71797a0d..97b883a11 100644
--- a/package/mpd/files/mpd.init
+++ b/package/mpd/files/mpd.init
@@ -11,6 +11,12 @@ autostart)
exec sh $0 start
;;
start)
+ # check group membership
+ id mpd | grep audio >/dev/null 2>&1
+ if [ $? -ne 0 ];then
+ echo "mpd user must be in group audio."
+ exit 1
+ fi
mpd
;;
stop)