-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On April 4, 2001 09:12 am, john.janmaat@acadiau.ca wrote:
Hello,
I don't have a particular problem with the boot concept. However, I do want to know when various things are loaded and by what scripts. I want to configure my system to backup some critical files to a network drive every time it starts up. (it is a laptop, so I want to save the stuff that I did while not connected.) RH had a script which it executed last, after modules were loaded, but before going to run level 5. boot.local is executed before ifconfig activates networking and dhcpcd gets my ip.
Check out the file /etc/rc.d/skeleton You can create your own boot script based on that template and make a symlink to it in the runlevel directory you want called S99foo (if your script is called foo) or whatever. The S99 tells it to start last in that runlevel. You'll probably want to remove most of the stuff in that script if you simply want to run a single command that doesn't daemonise. You can use ksysv to create the symlinks if you want. I find that it gives a nice visual drag-n-drop interface. - -- James Oakley Engineering - SolutionInc Ltd. joakley@solutioninc.com http://www.solutioninc.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE6yyQe+FOexA3koIgRAjLPAJ9mxRFE4OLlG0FneauTK0CdyDB0jgCcCZfm 8Ee7vsd1iXYxnMNWxyDQzj0= =wQjD -----END PGP SIGNATURE-----