2009-12-07 16:48:21 +00:00
|
|
|
#!/bin/sh /etc/rc.common
|
2010-01-30 23:29:11 +00:00
|
|
|
# Copyright (C) 2009-2010 OpenWrt.org
|
2009-12-07 16:48:21 +00:00
|
|
|
|
|
|
|
START=60
|
|
|
|
|
|
|
|
start() {
|
|
|
|
mkdir -p /var/cache/dmapd/
|
|
|
|
mkdir -p /var/run/dmapd/
|
|
|
|
mkdir -p /var/lock/subsys/
|
2010-01-30 23:29:11 +00:00
|
|
|
|
2011-04-03 00:36:54 +00:00
|
|
|
DMAPD_DB_MODULE=bdb /usr/sbin/dmapd --vips-disc-threshold 64k
|
2009-12-07 16:48:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
stop() {
|
|
|
|
killall dmapd 2> /dev/null
|
|
|
|
}
|