nico 7b8394f701 packages/minidlna: various changes:
* fix "invasive" patches (those introducing a STAGING_DIR var into upstream Makefiles)
 * pass proper target OS name/version, not host ones
 * change db path to /var/run/minidlna and log path to /var/log
 * use new service functions

git-svn-id: svn://svn.openwrt.org/openwrt/packages@29081 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 22:16:28 +00:00

17 lines
240 B
Bash

#!/bin/sh /etc/rc.common
# Copyright (C) 2010 OpenWrt.org
START=50
SERVICE_USE_PID=1
start() {
mkdir -m 0755 -p /var/log
mkdir -m 0755 -p /var/run/minidlna
service_start /usr/bin/minidlna
}
stop() {
service_stop /usr/bin/minidlna
}