[BusyBox] busybox init acts strange on reboot
Matt Kraai
kraai at alumni.carnegiemellon.edu
Thu Apr 12 19:57:44 UTC 2001
On Thu, Apr 12, 2001 at 09:38:07PM +0200, cobol at nord-com.net wrote:
> On Thu, 12 Apr 2001, Matt Kraai wrote:
>
> > I was the one how mucked around with init so as to not necessarily
> > reboot when Ctrl-Alt-Del is pressed. So it is probably due to my
> > changes. Could you please send me a copy of your inittab (or, if
> > none exists, let me know that)?
> Here it is:
>
> ___begin inittab___
> ::sysinit:/etc/rc.d/rc.sysinit
>
> tty1::respawn:/sbin/getty 38400 tty1
> tty2::respawn:/sbin/getty 38400 tty2
> tty3::respawn:/sbin/getty 38400 tty3
> tty4::respawn:/sbin/getty 38400 tty4
> tty5::respawn:/sbin/getty 38400 tty5
> tty6::respawn:/sbin/getty 38400 tty6
>
> ::ctrlaltdel:/etc/rc.d/rc.reboot
> ~~~end inittab~~~
Without knowing the contents of /etc/rc.d/rc.reboot, here is my
guess. It used to be the case that pressing Ctrl-Alt-Del and
reboot had the same behavior. With 0.51, it changed, so that
pressing Ctrl-Alt-Del wouldn't necessarily reboot the system. In
order to get the old behavior, what you should do is change
::ctrlaltdel:/etc/rc.d/rc.reboot
to
::reboot:/etc/rc.d/rc.reboot
::ctrlaltdel:/sbin/reboot
Matt
More information about the busybox
mailing list