packages/net/dmapd/files/dmapd.init
florian 0cf13e3058 [package] add dmapd (#6299)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@18677 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-07 16:48:21 +00:00

17 lines
280 B
Bash

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