The easiest way would probably be to let: /etc/rc.d/init.d/killall call rc.local.shutdown (assuming that is the name of a script you created).
But if you wanted to have it run as a process all by itself then you probably need to rename: S00killall ===> S02killall S01reboot ===> S03reboot And then add yours as S01local.shutdown (really a sym-link to the script), so that it would run before the other two processes (killall and reboot). Enjoy! - Jon Carnes On Tue, 2003-09-16 at 20:09, Ralph Blach wrote: > I have a redhat 9.0 machine and I would like shutdown so perform some > extra action. How do I create and rc.local.shutdown that will run when > run level 6 is entered? > > Thanks > > Chip -- TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug TriLUG Organizational FAQ : http://trilug.org/faq/ TriLUG Member Services FAQ : http://members.trilug.org/services_faq/ TriLUG PGP Keyring : http://trilug.org/~chrish/trilug.asc
