Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 82593 Details for
Bug 126852
Updated init script for sys-apps/rng-tools
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
files/rngd
rngd (text/plain), 1.27 KB, created by
Krzysztof Pawlik (RETIRED)
on 2006-03-19 12:18:24 UTC
(
hide
)
Description:
files/rngd
Filename:
MIME Type:
Creator:
Krzysztof Pawlik (RETIRED)
Created:
2006-03-19 12:18:24 UTC
Size:
1.27 KB
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2004 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/sys-apps/rng-tools/files/rngd,v 1.5 2004/07/15 00:50:08 agriffis Exp $ > >depend() { > need localmount > after random >} > >start() { > ebegin "Starting hardware RNG daemon" > if [ -e /dev/hw_random ]; then > start-stop-daemon --start --quiet --exec /usr/sbin/rngd -- -s ${STEP-64} -t ${TIMEOUT-60} -b -r /dev/hw_random > eend $? "Failed to start hardware RNG daemon" > elif [ -e /dev/hwrandom ]; then > start-stop-daemon --start --quiet --exec /usr/sbin/rngd -- -s ${STEP-64} -t ${TIMEOUT-60} -b -r /dev/hwrandom > eend $? "Failed to start hardware RNG daemon" > elif [ -e /dev/i810_rng ]; then > start-stop-daemon --start --quiet --exec /usr/sbin/rngd -- -s ${STEP-64} -t ${TIMEOUT-60} -b -r /dev/i810_rng > eend $? "Failed to start hardware RNG daemon" > else > einfo "No hardware RNG found, using /dev/urandom as feedback input" > start-stop-daemon --start --quiet --exec /usr/sbin/rngd -- -s ${STEP-64} -t ${TIMEOUT-60} -b -r /dev/urandom > eend $? "Failed to start hardware RNG daemon" > fi >} > >stop() { > ebegin "Stopping hardware RNG daemon" > start-stop-daemon --stop --quiet --exec /usr/sbin/rngd > eend $? "Failed to stop hardware RNG daemon" >}
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 126852
: 82593 |
82594
|
82595