+++ Rohan Almeida [linux-india] <09/01/02 18:46 +0530>: > I want to execute a command when the system goes down > I'm using rh 7.1 > This command should run whenever the system halts or reboots, or > user presses alt+ctrl_del > Which file should i modify > Or should i create symbolic link in rc.d dir??
Can you do it this way. edit /etc/inittab and add the scriptname you want to execute before the shutdown -h entry <scriptname> ; shutdown -h now correct me if I am wrong Regards -- MDK || [EMAIL PROTECTED] || www.symonds.net/~dileep _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
