packages/net/dmapd/files/dmapd.init
swalker 2d5f3a81e4 [packages] dmapd: update to 0.0.21 (#6516)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@19434 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-30 23:29:11 +00:00

17 lines
226 B
Bash

#!/bin/sh /etc/rc.common
# Copyright (C) 2009-2010 OpenWrt.org
START=60
start() {
mkdir -p /var/cache/dmapd/
mkdir -p /var/run/dmapd/
mkdir -p /var/lock/subsys/
/usr/sbin/dmapd
}
stop() {
killall dmapd 2> /dev/null
}