checkfs bootscript error

Gerard Beekmans gerard at linuxfromscratch.org
Mon Oct 15 21:21:04 PDT 2001


On Mon, Oct 15, 2001 at 10:59:25PM -0500, Debian User wrote:
>                 if [ $? -gt 1 ]
>                 then
>                         $FAILURE
>                         echo
>                         echo -n "fsck failed. Please repair your file "
>                         echo "systems manually by running /sbin/fsck"
>                         echo "without the -a option"
>                         echo
>                         echo -n "Please note that the root file system "
> 
>                         echo "is currently mounted in read-only mode."
>                         echo
>                         echo -n "I will start sulogin now. When you  "
>                         echo "logout I will reboot your system."
>                         echo
>                         $NORMAL
>                         /sbin/sulogin
>                         /sbin/reboot -f
>                 else
> 
> #
> # If the remount to read-only mode didn't work abort the fsck and print
> # an error
> #

there are a few lines missing:

							$NORMAL
							/sbin/sulogin
							/sbin/reboot -f
					else
							print_status_success
					fi
			else
#
# If the remount to read-only mode didn't work abort the fsck and print
# an error
#


-- 
Gerard Beekmans
www.linuxfromscratch.org

-*- If Linux doesn't have the solution, you have the wrong problem -*-
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message



More information about the lfs-support mailing list