In order to ask /sbin/init to re-read /etc/inittab, you can issue the command:
kill -1 1 The -1 argument sends a kill signal which causes the process to reload its config. The 1 is the process id. init always has process id 1, as it is the first process loaded by the kernel. You don't really have to reboot. -- Thomas Cameron, RHCE, CNE, MCSE, MCT Assistant Vice President Linux Design and Engineering Bank of America (972) 997-9641 The opinions expressed in this message are mine alone and do not necessarily reflect the opinions of my employer, Bank of America. > -----Original Message----- > From: Linux on 390 Port [mailto:[EMAIL PROTECTED] Behalf Of > Rich Smrcina > Sent: Wednesday, March 17, 2004 3:21 PM > To: [EMAIL PROTECTED] > Subject: Re: 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 > ---------------------------------------------------------------------- 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
