Hi Rance, > I have a sh script im working on that is going to be able to run by > the init/rc process. That same script can also be run after the > system is started. > > I need a way to have the sh script detect WHERE in the boot process > the server is when it is being executed.
You can control when your rc script runs with #REQUIRE: and #BEFORE: Checkout the practical rc.d scripting article [1], chapter 7 has an example. Use rcorder(8) to see what runs when: $ rcorder /etc/rc.d/* Hope this helps, Andrew [1] http://www.freebsd.org/doc/en/articles/rc-scripting/index.html -- [EMAIL PROTECTED] _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
