[package] build dmapd to with DPAP support (#6368)
[openwrt/svn-archive/archive.git] / net / dmapd / files / dmapd.init
1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2009 OpenWrt.org
3
4 START=60
5
6 start() {
7 mkdir -p /var/cache/dmapd/
8 mkdir -p /var/run/dmapd/
9 mkdir -p /var/lock/subsys/
10
11 /usr/sbin/dmapd -m /var/db/BigDisk/Storage/Music/ -p /var/db/BigDisk/Storage/Pictures
12 }
13
14 stop() {
15 killall dmapd 2> /dev/null
16 }