![loswillios](/assets/img/avatar_default.png)
Adjust minidlna for inotify becoming part of the default kernel. minidlna.init: stop forcing a rescan (-R) of the media library on startup. Users will need to run it once after installing. 040-configuration-tweak.patch: enable use of inotify in the default configuration Signed-off-by: Ian Leonard <antonlacon@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/packages@28034 3c298f89-4303-0410-b956-a3cf2f4a3e73
16 lines
226 B
Bash
16 lines
226 B
Bash
#!/bin/sh /etc/rc.common
|
|
# Copyright (C) 2010 OpenWrt.org
|
|
|
|
START=50
|
|
BIN=/usr/bin/minidlna
|
|
PID=/var/run/minidlna.pid
|
|
SSD=start-stop-daemon
|
|
|
|
start() {
|
|
$SSD -p $PID -S -x $BIN -- -P $PID
|
|
}
|
|
|
|
stop() {
|
|
$SSD -p $PID -K -s SIGINT
|
|
}
|