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.4 2005/11/19 21:47:32 swildner Exp $
14 start_cmd
="fsck_start"
19 # Terminate the process (which may include the parent /etc/rc)
20 # if booting directly to multiuser mode.
22 if [ "$autoboot" = yes ]; then
30 if [ "$autoboot" = no
]; then
31 echo "Fast boot: skipping disk checks."
32 elif [ "$autoboot" = yes ]; then
33 # During fsck ignore SIGQUIT
36 echo "Starting file system checks:"
48 echo "Reboot failed; help!"
52 if checkyesno fsck_y_enable
; then
53 echo "File system preen failed, trying fsck -y."
59 echo "Automatic file system check failed; help!"
64 echo "Automatic file system check failed; help!"
69 echo "Boot interrupted."
76 echo "Unknown error; help!"