Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 10172 Details for
Bug 10533
MythTv, Homebrew PVR project for analog TV cards' ebuild
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
a more flexible backend rc script
mythbackend.rc6 (text/plain), 1.49 KB, created by
Max Kalika (RETIRED)
on 2003-04-03 23:33:50 UTC
(
hide
)
Description:
a more flexible backend rc script
Filename:
MIME Type:
Creator:
Max Kalika (RETIRED)
Created:
2003-04-03 23:33:50 UTC
Size:
1.49 KB
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2003 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License, v2 or later ># $Header: $ > >depend() { > need net > use mysql >} > >checkconfig() { > [ -z "${MYTH_USER}" ] && MYTH_USER="nobody" > > for i in $(groups "${MYTH_USER}") > do > [ "${i}" = "audio" ] && audio="yes" > [ "${i}" = "video" ] && video="yes" > done > > [ -z "${audio}" -o -z "${video}" ] && { > ewarn "" > [ -z "${audio}" ] && \ > ewarn "${HILITE}${MYTH_USER}${NORMAL} is not in the audio group" > [ -z "${video}" ] && \ > ewarn "${HILITE}${MYTH_USER}${NORMAL} is not in the video group" > ewarn "" > ewarn "insufficient permissions discovered" > ewarn "mythbackend may not start correctly" > ewarn "" > } > >} > >start() { > [ -n "${MYTH_NOWARN}" ] || checkconfig > > [ -z "${MYTH_USER}" ] && MYTH_USER="nobody" > [ -z "${MYTH_LOG}" ] && MYTH_LOG="/var/log/mythtv/mythbackend.log" > [ -z "${MYTH_PID}" ] && MYTH_PID="/var/run/mythtv/mythbackend.pid" > > HOME="$(dirname "${MYTH_PID}")" > QTDIR=/usr/qt/3 > > # Work around any strange permissions that may be on these files > rm -f "${MYTH_LOG}" > rm -f "${MYTH_PID}" > > ebegin "Starting myth backend" > start-stop-daemon --start --quiet \ > --chuid "${MYTH_USER}" --exec /usr/bin/mythbackend \ > -- --daemon --pidfile "${MYTH_PID}" --logfile "${MYTH_LOG}" > eend $? >} > >stop () { > [ -z "${MYTH_PID}" ] && MYTH_PID="/var/run/mythtv/mythbackend.pid" > > ebegin "Stopping myth backend" > start-stop-daemon --stop --quiet --pidfile="${MYTH_PID}" > 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 10533
:
5541
|
6890
|
9860
|
9861
|
9862
|
9886
|
9958
|
9959
|
9960
|
9961
| 10172 |
10173
|
13028
|
13029
|
13036
|
13250
|
13251
|
13252
|
13438
|
13476
|
13477
|
13503
|
13504