/etc/rc runs /etc/rc.sysctl twice:

one "early", after mounting filesystems, reseeding the random number
generator and adding a swap file, and before running rc.serial, rc.pccard,
rc.network.

one "late", after network_pass4 but before raising the securelevel.
This was added in response to

http://www.freebsd.org/cgi/query-pr.cgi?pr=19629                               


The update to the /etc/rc.d infrastructure keeps the ability to run
twice, but does not actually run it twice.  I started creating an
/etc/rc.d/sysctl-last that would run "/etc/rc.d/sysctl lastload",
but realized that I didn't know how to say where the first/second
call should go.  To strictly follow /etc/rc.d, I could change the
existing /etc/rc.d/sysctl to say "BEFORE: serial" and add "BEFORE:
securelevel" to sysctl-last, but I'm not sure this is appropriate given
the meta-checkpoints that we have.

(It also raises the question of if /etc/rc.d/securelevel actually
runs at the right time.  /etc/rc puts it almost at the absolute end,
while rcorder sticks it somewhere in the middle -- number 67 of 102
on my system.)

  Bill

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to