1#!/bin/sh 2# 3# Copyright (c) 2000 The FreeBSD Project 4# All rights reserved. 5# 6# Redistribution and use in source and binary forms, with or without 7# modification, are permitted provided that the following conditions 8# are met: --- 11 unchanged lines hidden (view full) --- 20# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25# SUCH DAMAGE. 26# 27# @(#)rc 5.27 (Berkeley) 6/5/91 |
28# $FreeBSD: head/etc/rc 113904 2003-04-23 15:38:02Z matusita $ |
29# 30 31# System startup script run by init on autoboot 32# or after single-user. 33# Output and error are redirected to console by init, 34# and the console is the controlling terminal. 35 36# Note that almost all of the user-configurable behavior is no longer in --- 959 unchanged lines hidden (view full) --- 996[Yy][Ee][Ss]) 997 bgfsck_msg='Starting background file system checks' 998 if [ ${background_fsck_delay:=0} -gt 0 ]; then 999 bgfsck_msg="${bgfsck_msg} in ${background_fsck_delay} seconds" 1000 fi 1001 echo "${bgfsck_msg}." 1002 1003 (sleep ${background_fsck_delay}; nice -4 fsck -B -p) 2>&1 | \ |
1004 logger -p daemon.notice -t fsck & |
1005 ;; 1006esac 1007 1008echo '' 1009 1010date 1011 1012exit 0 1013 |