set_rcvar load_rc_config run_rc_command: all not found
Christian Hiris
4711 at chello.at
Tue Jan 25 22:48:57 PST 2005
On Wednesday 26 January 2005 05:45:05, Duane Winner wrote:
> Hello,
>
> I've just noticed (after spending the past two weeks testing
> 5.3-release), that I'm getting this on every boot and shutdown:
>
> Local package initialization:set_rcvar: not found
> load_rc_config: not found
> run_rc_command: not found
>
> Everything seems to be working fine, but I sure would like to know where
> those "set_rcvar", "load_rc_config" and "run_rc_command" not found
> messages are coming from and why.
This messages were sent by a script, which resides in one of your local
startup directories. If you use the default local startup directories, then
search the scripts under /usr/local/etc/rc.d and /usr/X11R6/etc/rc.d for the
variables that couldn't be found. The script that wants to run the functions
set_rcvar, load_rc_config and run_rc_command requires the line
". /etc/rc.subr". This line sucks in the file /etc/rc.subr and makes the
missing functions available to your script.
Cheers,
ch
--
Christian Hiris <4711 at chello.at> | OpenPGP KeyID 0x3BCA53BE
OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050126/f423846b/attachment.bin
More information about the freebsd-questions
mailing list