cvs commit: src/etc rc rc.shutdown rc.subr src/etc/rc.d
localpkg src/sys/sys param.h
Yar Tikhiy
yar at comp.chem.msu.su
Mon Dec 5 08:10:29 GMT 2005
On Fri, Dec 02, 2005 at 08:06:07PM +0000, Doug Barton wrote:
> dougb 2005-12-02 20:06:07 UTC
>
> FreeBSD src repository
>
> Modified files:
> etc rc rc.shutdown rc.subr
> etc/rc.d localpkg
> sys/sys param.h
> Log:
> Introduce startup scripts from the local_startup directories to
> the base rcorder. This is accomplished by running rcorder twice,
> first to get all the disks mounted (through mountcritremote),
> then again to include the local_startup directories.
>
> This dramatically changes the behavior of rc.d/localpkg, as
> all "local" scripts that have the new rc.d semantics are now
> run in the base rcorder, so only scripts that have not been
> converted yet will run in rc.d/localpkg.
>
> Make a similar change in rc.shutdown, and add some functions in
> rc.subr to support these changes.
>
> Bump __FreeBSD_version to reflect this change.
>
> Revision Changes Path
> 1.337 +33 -1 src/etc/rc
> 1.7 +5 -32 src/etc/rc.d/localpkg
> 1.31 +7 -1 src/etc/rc.shutdown
> 1.44 +38 -0 src/etc/rc.subr
> 1.254 +1 -1 src/sys/sys/param.h
I've just booted a fresh CURRENT with no local rc.d scripts installed
and got this message (shown in context):
Mounting NFS file systems:.
==> grep: /usr/local/etc/rc.d/*: No such file or directory
Checking for core dump on /dev/ad0s1b...
Having no local rc.d scripts seems like a case to deal with
particularly. Thanks!
--
Yar
More information about the freebsd-rc
mailing list