Problems at shutdown

Peter Mendham petermendham at computing.dundee.ac.uk
Tue Nov 28 17:31:10 UTC 2006


Andy Green wrote:
> Yes it helped, but the echo won't go anywhere because it runs with a 
> "null" tty as you asked.
D'oh.  That was very stupid.  I'm sorry about that.
>
> Try changing the null:: part to just ::  this will come on your 
> default console.  I think you'll find it all runs but some have 
> errors, esp the umount -a -r does not work here (try it on the 
> commandline).
OK, I changed the inittab to:
::shutdown:/etc/init.d/rcK
::shutdown:/usr/bin/killall klogd
::shutdown:/usr/bin/killall syslogd
::shutdown:/bin/umount -a -r
::shutdown:/sbin/swapoff -a

I get my message from rcK (hooray).  But I don't hear anything from 
anything else, including umount.  I tried it on the command line and it 
just gave me the usage information.  I understand what this is trying to 
do here (in the inittab) - how can I get it to work?

Thanks,
-- Peter




More information about the busybox mailing list