rc (168283) | rc (175676) |
---|---|
1#!/bin/sh 2# 3# Copyright (c) 2000-2004 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 | 1#!/bin/sh 2# 3# Copyright (c) 2000-2004 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 168283 2007-04-02 22:53:07Z des $ | 28# $FreeBSD: head/etc/rc 175676 2008-01-26 11:22:12Z mtm $ |
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 --- 14 unchanged lines hidden (view full) --- 51export HOME PATH 52 53if [ "$1" = autoboot ]; then 54 autoboot=yes 55 _boot="faststart" 56 rc_fast=yes # run_rc_command(): do fast booting 57else 58 autoboot=no | 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 --- 14 unchanged lines hidden (view full) --- 51export HOME PATH 52 53if [ "$1" = autoboot ]; then 54 autoboot=yes 55 _boot="faststart" 56 rc_fast=yes # run_rc_command(): do fast booting 57else 58 autoboot=no |
59 _boot="start" | 59 _boot="quietstart" |
60fi 61 62dlv=`/sbin/sysctl -n vfs.nfs.diskless_valid 2> /dev/null` 63if [ ${dlv:=0} -ne 0 -o -f /etc/diskless ]; then 64 sh /etc/rc.initdiskless 65fi 66 67# Run these after determining whether we are booting diskless in order --- 55 unchanged lines hidden --- | 60fi 61 62dlv=`/sbin/sysctl -n vfs.nfs.diskless_valid 2> /dev/null` 63if [ ${dlv:=0} -ne 0 -o -f /etc/diskless ]; then 64 sh /etc/rc.initdiskless 65fi 66 67# Run these after determining whether we are booting diskless in order --- 55 unchanged lines hidden --- |