3c3
< # $FreeBSD: head/etc/rc.d/bgfsck 100790 2002-07-28 03:38:10Z dd $
---
> # $FreeBSD: head/etc/rc.d/bgfsck 108018 2002-12-18 07:21:31Z mckusick $
14,15c14
< start_precmd="echo 'Starting background file system checks.'"
< start_cmd="nice -4 fsck -B -p 2>&1 | logger -p daemon.notice &"
---
> start_cmd="bgfsck_start"
17a17,28
> bgfsck_start ()
> {
> bgfsck_msg='Starting background file system checks'
> if [ ${background_fsck_delay:=0} -gt 0 ]; then
> bgfsck_msg="${bgfsck_msg} in ${background_fsck_delay} seconds"
> fi
> echo "${bgfsck_msg}."
>
> (sleep ${background_fsck_delay}; nice -4 fsck -B -p) 2>&1 | \
> logger -p daemon.notice &
> }
>
< # $FreeBSD: head/etc/rc.d/bgfsck 100790 2002-07-28 03:38:10Z dd $
---
> # $FreeBSD: head/etc/rc.d/bgfsck 108018 2002-12-18 07:21:31Z mckusick $
14,15c14
< start_precmd="echo 'Starting background file system checks.'"
< start_cmd="nice -4 fsck -B -p 2>&1 | logger -p daemon.notice &"
---
> start_cmd="bgfsck_start"
17a17,28
> bgfsck_start ()
> {
> bgfsck_msg='Starting background file system checks'
> if [ ${background_fsck_delay:=0} -gt 0 ]; then
> bgfsck_msg="${bgfsck_msg} in ${background_fsck_delay} seconds"
> fi
> echo "${bgfsck_msg}."
>
> (sleep ${background_fsck_delay}; nice -4 fsck -B -p) 2>&1 | \
> logger -p daemon.notice &
> }
>