Module Name: src Committed By: apb Date: Sat Nov 10 15:10:22 UTC 2012
Modified Files: src/etc/rc.d: random_seed Log Message: Cause /etc/rc.d/random_seed to be the first script to run after mountcritlocal. Everything else that runs after mountcritlocal depends directly or indirectly on bootconf, so making random_seed run before bootconf has the desired result. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/etc/rc.d/random_seed Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/etc/rc.d/random_seed diff -u src/etc/rc.d/random_seed:1.2 src/etc/rc.d/random_seed:1.3 --- src/etc/rc.d/random_seed:1.2 Sun Jul 8 14:25:49 2012 +++ src/etc/rc.d/random_seed Sat Nov 10 15:10:22 2012 @@ -1,12 +1,19 @@ #!/bin/sh # -# $NetBSD: random_seed,v 1.2 2012/07/08 14:25:49 hans Exp $ +# $NetBSD: random_seed,v 1.3 2012/11/10 15:10:22 apb Exp $ # # PROVIDE: random_seed # REQUIRE: mountcritlocal # BEFORE: securelevel +# BEFORE: bootconf # KEYWORD: shutdown +# +# The "BEFORE: securelevel" is a real dependency, in that +# this script won't work if run after the securelevel is changed. +# +# The "BEFORE: bootconf" is intended to cause this to +# be the first script to runs after mountcritlocal. $_rc_subr_loaded . /etc/rc.subr