Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 240951 Details for
Bug 284647
New ebuild: media-sound/minidlna-9999
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
startup script for minidlna-1.0.18.ebuild
minidlna-initd (text/plain), 923 bytes, created by
Daniel Klaffenbach
on 2010-08-01 16:41:00 UTC
(
hide
)
Description:
startup script for minidlna-1.0.18.ebuild
Filename:
MIME Type:
Creator:
Daniel Klaffenbach
Created:
2010-08-01 16:41:00 UTC
Size:
923 bytes
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2010 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >depend() { > need net >} > >start() { > ebegin "Starting MiniDLNA" > local params="" > local stop=0 > > if [[ "${RESCAN}" = "true" || "{$RESCAN}" = yes ]]; then > params="$params -R" > fi > > #set the config file and check if it exists > if [ -z "${CONFIG}" ]; then > if [ ! -f "/etc/minidlna.conf" ]; then > ewarn "You did not set the config file correctly" > stop=1 > fi > params="$params -f /etc/minidlna.conf" > else > if [ ! -f "${CONFIG}" ]; then > ewarn "The specified config file does not exist" > stop=1 > fi > params="$params -f ${CONFIG}" > fi > > > if [ $stop -eq 1 ]; then > eend 1 > else > start-stop-daemon --start \ > --exec /usr/sbin/minidlna -- ${params} > eend $? > fi >} > >stop() { > ebegin "Stopping MiniDLNA" > start-stop-daemon --stop --quiet --exec /usr/sbin/minidlna > eend $? >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 284647
:
203844
|
240947
|
240949
| 240951