1#!/bin/sh
2#
3# $FreeBSD: head/etc/rc.d/bgfsck 100790 2002-07-28 03:38:10Z dd $
4#
5
6# PROVIDE: bgfsck
7# REQUIRE: cron devfs
8# KEYWORD: FreeBSD
9
10. /etc/rc.subr
11
12name="background-fsck"
13rcvar="background_fsck"
14start_precmd="echo 'Starting background file system checks.'"
15start_cmd="nice -4 fsck -B -p 2>&1 | logger -p daemon.notice &"
16stop_cmd=":"
17
18load_rc_config $name
19run_rc_command "$1"
2#
3# $FreeBSD: head/etc/rc.d/bgfsck 100790 2002-07-28 03:38:10Z dd $
4#
5
6# PROVIDE: bgfsck
7# REQUIRE: cron devfs
8# KEYWORD: FreeBSD
9
10. /etc/rc.subr
11
12name="background-fsck"
13rcvar="background_fsck"
14start_precmd="echo 'Starting background file system checks.'"
15start_cmd="nice -4 fsck -B -p 2>&1 | logger -p daemon.notice &"
16stop_cmd=":"
17
18load_rc_config $name
19run_rc_command "$1"