Finding exactly which commands, and in which order, rc is running at startup

Ulrik Søgaard ulriksaa at gmail.com
Fri Aug 23 09:46:28 UTC 2013


On 23 August 2013 10:41, Doug Hardie <bc979 at lafn.org> wrote:

>
> On 22 August 2013, at 13:07, Paul Hoffman <phoffman at proper.com> wrote:
>
> > Greetings again. After doing a freebsd-update, my system is starting up
> differently than it was before. I want to figure out why before I come here
> and say "it's broken".
> >
> > Is there a way to say "show me all of the commands you are running
> during startup"? It would be grand if I could say "tell me what you would
> do next time (dry run)", but "what did you do last time" is OK too.
>
> You can add:
>
> rc_debug="YES"
>
> to /etc/rc.conf and that might give you what you need.  According to the
> man page it will "produces copious output to the terminal and syslog(3)"
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe at freebsd.org"
>

You can use "rcorder /etc/rc.d/* /usr/local/etc/rc.d/*" to show the order
of which the startup scripts is run.


More information about the freebsd-questions mailing list