[packages] dmapd: update to 0.0.21 (#6516)
[openwrt/svn-archive/archive.git] / net / dmapd / files / dmapd.init
1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2009-2010 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
12 }
13
14 stop() {
15 killall dmapd 2> /dev/null
16 }