diff --git a/etc/rc b/etc/rc index 4d14157461a3..bc1b9b76bc40 100644 --- a/etc/rc +++ b/etc/rc @@ -184,7 +184,9 @@ swapon -a case ${bootmode} in autoboot) echo 'Automatic boot in progress...' - fsck -p +# To restore old fsck behavior use: +# fsck -p + fsck -F -p case $? in 0) ;; @@ -810,6 +812,10 @@ case ${kern_securelevel_enable} in ;; esac +# Start background fsck checks +echo 'Starting background filesystem checks' +nice -4 fsck -B -p 2>&1 | logger -p daemon.notice & + echo '' date