diff options
Diffstat (limited to 'package/mpd/files')
-rw-r--r-- | package/mpd/files/mpd.conffiles | 1 | ||||
-rw-r--r-- | package/mpd/files/mpd.init | 4 | ||||
-rw-r--r-- | package/mpd/files/mpd.postinst | 6 |
3 files changed, 10 insertions, 1 deletions
diff --git a/package/mpd/files/mpd.conffiles b/package/mpd/files/mpd.conffiles new file mode 100644 index 000000000..a8d69760e --- /dev/null +++ b/package/mpd/files/mpd.conffiles @@ -0,0 +1 @@ +/etc/mpd.conf diff --git a/package/mpd/files/mpd.init b/package/mpd/files/mpd.init index b07a189a1..d71797a0d 100644 --- a/package/mpd/files/mpd.init +++ b/package/mpd/files/mpd.init @@ -1,5 +1,7 @@ #!/bin/sh -#FWINIT 60 +#PKG mpd +#INIT 60 + . /etc/rc.conf case $1 in diff --git a/package/mpd/files/mpd.postinst b/package/mpd/files/mpd.postinst new file mode 100644 index 000000000..361adeec0 --- /dev/null +++ b/package/mpd/files/mpd.postinst @@ -0,0 +1,6 @@ +#!/bin/sh +. $IPKG_INSTROOT/etc/functions.sh +gid=$(get_next_gid) +add_group mpd $gid +add_user mpd $(get_next_uid) $gid /mnt +add_rcconf mpd |