summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/random
Commit message (Collapse)AuthorAgeFilesLines
* Simply things so that "#REQUIRE: FILESYSTEMS" means the fileobrien2012-09-111-1/+1
| | | | | | | | | | | systems are fully "ready to go". 'FILESYSTEMS' states: "This is a dummy dependency, for services which require file systems to be mounted before starting." However, we have 'var' which is was run after 'FILESYSTEMS' and can mount /var if it already isn't mounted. Furthermore, several scripts cannot use /var until 'cleanvar' has done its thing. Thus "FILESYSTEMS" hasn't really meant all critical file systems are fully usable.
* Remove old entropy seeding after consumption initializing /dev/random PRNG.obrien2012-08-221-1/+4
| | | | | | | Not doing so opens us up to replay attacks. Submitted by: Arthur Mesh <arthurmesh@gmail.com> Sponsored by: Juniper Networks
* As previously discussed, add the svn:executable property to all scriptsdougb2008-07-161-0/+0
|
* Get rid of chatter for failed commands if the filesystem is read-only.njl2007-03-031-5/+6
| | | | | | | | | | | Include /var/db/entropy-file in the reseeding if present. It is used for last-ditch efforts to save entropy and thus should also be used to seed the RNG when starting. Print a warning instead of an error if writing the file fails -- err() exits, preventing the umask from being restored. Also, since there's not much that can be done about it, notifying the user is all that's needed. MFC after: 2 weeks
* The alternative suggested for /entropy as a shutdowndougb2005-04-111-5/+4
| | | | | | | | | | | | | | | save file was /var/db/entropy, which also happens to be the directory where the individual entropy files created by /usr/libexec/save-entropy are stored. Change the suggestion to be /var/db/entropy-file instead. In an error condition where the shutdown file is not created, the error message accessed a variable that doesn't exist. PR: conf/75722 Submitted by: Nicolas Rachinsky <list@rachinsky.de>
* Remove the requirement for the FreeBSD keyword as it no longermtm2004-10-071-1/+1
| | | | | | | makes any sense. Discussed with: dougb, brooks MFC after: 3 days
* Catch up with diskless split "diskless" is no longer provided.brooks2004-04-121-1/+1
| | | | Suggested by: cperciva
* Mark scripts as not usable inside a jail by adding keyword 'nojail'.pjd2004-03-081-1/+1
| | | | Some suggestions from: rwatson, Ruben de Groot <mail25@bzerk.org>
* Fix typo in comment, s/reebots/reboots/johan2004-02-071-1/+1
| | | | | PR: 62481 Submitted by: Ulrich Spoerlein <q at uni.de>
* o Hook the new files up to the build.mtm2003-04-181-1/+1
| | | | | | o Make sure all the scripts reference rc.d/netif and not rc.d/network1 Approved by: markm (mentor)
* Fix style bugs:schweikh2002-10-121-2/+2
| | | | | | | | | | * Space -> tabs conversion. * Removed blanks before semicolon in "if ... ; then". * Proper indentation of misindented lines. * Put a full stop after some comments. * Removed whitespace at end of line. Approved by: silence from gordon
* Merge in all the changes that Mike Makonnen has been maintaining for agordon2002-06-131-0/+93
while. This is only the script pieces, the glue for the build comes next. Submitted by: Mike Makonnen <makonnen@pacbell.net> Reviewed by: silence on -current and -hackers Prodded by: rwatson
OpenPOWER on IntegriCloud