packages/net/dmapd/files/dmapd.init
flyn d68f86294e Update dmapd and libdmapsharing to new upstream versions; use BDB module by default
git-svn-id: svn://svn.openwrt.org/openwrt/packages@26421 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-03 00:36:54 +00:00

17 lines
272 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/
DMAPD_DB_MODULE=bdb /usr/sbin/dmapd --vips-disc-threshold 64k
}
stop() {
killall dmapd 2> /dev/null
}