Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/etc/rc.d Cause /etc/rc.d/random_seed to be the first script ...
details: https://anonhg.NetBSD.org/src/rev/f49655421a92
branches: trunk
changeset: 782635:f49655421a92
user: apb <apb%NetBSD.org@localhost>
date: Sat Nov 10 15:10:22 2012 +0000
description:
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.
diffstat:
etc/rc.d/random_seed | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diffs (24 lines):
diff -r 52039b0cddf1 -r f49655421a92 etc/rc.d/random_seed
--- a/etc/rc.d/random_seed Sat Nov 10 15:08:36 2012 +0000
+++ b/etc/rc.d/random_seed Sat Nov 10 15:10:22 2012 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index