riz
7338f92d29
Trap SIGINT so that if fsck is interrupted by ^C, we drop into single-user
...
mode. Fixes misc/29822 from der Mouse, fix from Arnaud Lacombe with
comment rework by me.
2006-10-07 04:11:23 +00:00
mycroft
7d2e1537c5
Add an _rc_subr_loaded variable, set to ":" by rc.subr. Scripts can use this
...
for a speedup by doing:
$_rc_subr_loaded . /etc/rc.subr
2004-08-13 18:08:03 +00:00
christos
b5aee30a01
set fsck_flags=-p in /etc/defaults/rc.conf instead of checking if it is
...
empty in /etc/rc.d/fsck. From Bernd Ernesti.
2003-10-20 15:02:15 +00:00
christos
e2ba1d7082
Allow overrides via fsck_flags
2003-10-15 17:38:04 +00:00
lukem
f27a0c8f42
Now that "fsck -p" skips file systems that are mounted read-write,
...
always perform the disk check (unless /fastboot exists). Previously
this would only occur when booting directly to multi-user, so the
fsck wouldn't happen after a single user boot going into multi-user.
2001-06-18 06:42:35 +00:00
lukem
e26f093e93
convert fsck.sh -> fsck (using kill -TERM $$ to stop autoboot).
2000-08-21 23:38:07 +00:00