You need to do "telinit q" to force rereading of inittab. My inittab has a slightly different line:
ca:12345:ctrlaltdel:/sbin/shutdown -y -g0 I've tested this extensively, and it works for me. You should get messages on the console when the signal is received, even if the script isn't triggered. > -----Original Message----- > From: Linux on 390 Port [mailto:[EMAIL PROTECTED] Behalf Of > Rich Smrcina > Sent: Wednesday, March 17, 2004 4:21 PM > To: [EMAIL PROTECTED] > Subject: Re: [LINUX-390] SLES8 trap signal shutdown > > > After changing /etc/inittab, mine wouldn't work the first > time either. After the reboot it seemed to be OK. > > Rich Smrcina > ----- Original Message ----- > From: Nick Laflamme <[EMAIL PROTECTED]> > Date: Wednesday, March 17, 2004 4:04 pm > Subject: Re: SLES8 trap signal shutdown > > > For those of us playing along at home and trying to get > this work, is > > there a short list of mistakes one might make (or > > contraindications one > > might overlook) in this context? > > > > Q SIGNALS on my VM system confirms that my Linux image is waiting > > for a > > shutdown signal. > > > > The first time I edited /etc/inittab to add this, I reversed two > > lettersin "ctrlaltdel" and got an error message when I next did an > > "init 6", so > > I know I'm in the right file, and since the error message went > > away, I > > presume I'm spelling it correctly now. :-) > > > > But when I actually do the SIGNAL SHUTDOWN USER xxxx WITHIN 90, it > > justwaits 90 seconds and then logs itself off, without doing the > > "/sbin/shutdown -h now" specified. I know it didn't do the shutdown > > because when it comes back up, it takes forever doing the fsck.... > > > > For what do I look next? > > > > Thanks, > > Nick > > > > Rich Smrcina wrote: > > > > >In /etc/inittab: > > > > > ># what to do when CTRL-ALT-DEL is pressed > > >ca::ctrlaltdel:/sbin/shutdown -h now > > > > > > > > >On Tue, 2004-02-24 at 08:48, Eric Sammons wrote: > > > > > > > > >>What should the ctrlaltdel line look like? If it is required... > > >> > > >>Thanks! > > >>Eric Sammons > > >> > > >> > > >-- > > >Rich Smrcina > > >Sr. Systems Engineer > > >DSG eServer & Linux Solutions > > >Milwaukee, WI > > >rsmrcina at wi.rr.com > > >rsmrcina at dsgroup.com > > > > > > > > > > ------------------------------------------------------------------- > > --- > > For LINUX-390 subscribe / signoff / archive access instructions, > > send email to [EMAIL PROTECTED] with the message: INFO LINUX- > > 390 or visit > > http://www.marist.edu/htbin/wlvindex?LINUX-390 > > > > ---------------------------------------------------------------------- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to [EMAIL PROTECTED] with the message: INFO > LINUX-390 or visit > http://www.marist.edu/htbin/wlvindex?LINUX-390 > ============================================================================== If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail. <http://www.ml.com/email_terms/> ============================================================================== ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
