summaryrefslogtreecommitdiff
path: root/package/mt-daapd/files
diff options
context:
space:
mode:
Diffstat (limited to 'package/mt-daapd/files')
-rw-r--r--package/mt-daapd/files/mt-daapd.conffiles2
-rw-r--r--package/mt-daapd/files/mt-daapd.init4
-rw-r--r--package/mt-daapd/files/mt-daapd.postinst3
3 files changed, 8 insertions, 1 deletions
diff --git a/package/mt-daapd/files/mt-daapd.conffiles b/package/mt-daapd/files/mt-daapd.conffiles
new file mode 100644
index 000000000..2e5ee2b4d
--- /dev/null
+++ b/package/mt-daapd/files/mt-daapd.conffiles
@@ -0,0 +1,2 @@
+/etc/mt-daapd.conf
+/etc/mt-daapd.playlist
diff --git a/package/mt-daapd/files/mt-daapd.init b/package/mt-daapd/files/mt-daapd.init
index ec2a947e6..84ab61d11 100644
--- a/package/mt-daapd/files/mt-daapd.init
+++ b/package/mt-daapd/files/mt-daapd.init
@@ -1,5 +1,7 @@
#!/bin/sh
-#FWINIT 75
+#PKG mt-daapd
+#INIT 75
+
. /etc/rc.conf
case $1 in
diff --git a/package/mt-daapd/files/mt-daapd.postinst b/package/mt-daapd/files/mt-daapd.postinst
new file mode 100644
index 000000000..0059afb55
--- /dev/null
+++ b/package/mt-daapd/files/mt-daapd.postinst
@@ -0,0 +1,3 @@
+#!/bin/sh
+. $IPKG_INSTROOT/etc/functions.sh
+add_rcconf mt-daapd mt_daapd NO