Deleted Added
full compact
3c3
< # $FreeBSD: head/etc/rc.d/bgfsck 273013 2014-10-12 22:11:28Z hrs $
---
> # $FreeBSD: head/etc/rc.d/bgfsck 287614 2015-09-10 06:55:28Z hrs $
14a15
> start_precmd="bgfsck_start_precmd"
16a18,24
> bgfsck_start_precmd()
> {
> if [ $($ID -u) != 0 ]; then
> err 1 "Must be root."
> fi
> }
>
19,21c27,28
< if [ -z "${rc_force}" ]; then
< background_fsck_delay=${background_fsck_delay:-0}
< else
---
> : ${background_fsck_delay=0}
> if [ -n "${rc_force}" ]; then
25c32
< echo "Background file system checks delayed indefinitely"
---
> warn "Background file system checks delayed indefinitely"