3 # $NetBSD: fsck,v 1.2 2001/06/18 06:42:35 lukem Exp $
4 # $FreeBSD: src/etc/rc.d/fsck,v 1.4 2002/10/12 10:31:31 schweikh Exp $
5 # $DragonFly: src/etc/rc.d/fsck,v 1.3 2004/01/26 17:21:15 rob Exp $
15 start_cmd="fsck_start"
20 # Terminate the process (which may include the parent /etc/rc)
21 # if booting directly to multiuser mode.
23 if [ "$autoboot" = yes ]; then
31 if [ "$autoboot" = no ]; then
32 echo "Fast boot: skipping disk checks."
33 elif [ "$autoboot" = yes ]; then
34 # During fsck ignore SIGQUIT
37 echo "Starting file system checks:"
49 echo "Reboot failed; help!"
53 if checkyesno fsck_y_enable; then
54 echo "File system preen failed, trying fsck -y."
60 echo "Automatic file system check failed; help!"
65 echo "Automatic file system check failed; help!"
70 echo "Boot interrupted."
77 echo "Unknown error; help!"