Subject: Re: bin/21658: interrupting (^C) /etc/rc.d/fsck doesn't stop auto boot
To: ITOH Yasufumi <email@example.com>
From: Luke Mewburn <firstname.lastname@example.org>
Date: 05/25/2003 20:41:11
On Sun, May 25, 2003 at 12:41:29AM +0900, ITOH Yasufumi wrote:
| email@example.com writes:
| > Does renaming /etc/rc.d/fsck to /etc/rc.d/fsck.sh fix the problem? (This
| > will make the contents of /etc/rc.d/fsck.sh run as direct children of the
| > startup shell.)
| Oh, yeah, sort of.
| Yes, this allows to stop auto boot by ^C.
| However, "Boot interrupted." is not printed. I'm not sure why....
In etc/rc.d/fsck, try changing
echo "fsck returned $?
and then let us known what is printed when you hit ^C.
etc/rc.d/fsck should terminate an autoboot (direct to multi-user)
if fsck fails; that's what stop_boot() in that script is supposed to do.
that way it doesn't need to be installed as fsck.sh.