/etc/inittab, as distributed, has a line that gives a script name to be executed upon Ctr+Alt+Del. You can make that line point to any script you wish (one you write to Do Everything Right) which then calls the actual shut down executable.
>>-----Original Message----- >>From: cj [mailto:cj@;itonsite.com.au] >>Sent: Friday, November 15, 2002 12:22 AM >>To: RedHat Mailing List (E-mail) >>Subject: shutdown scripts >> >> >>G'day all >> >>Im using redhat 7.1 >>I would like to run a script when I issue the shutdown >>command or when the >>ctrl+alt+del combo. >> >>what files would I need to edit to be able to run the script >>on shutdown? >> >> >> >>-- >>redhat-list mailing list >>unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe >>https://listman.redhat.com/mailman/listinfo/redhat-list >> ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept for the presence of computer viruses. www.hubbell.com - Hubbell Incorporated ********************************************************************** -- redhat-list mailing list unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list