rc (155866) | rc (168283) |
---|---|
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 155866 2006-02-20 21:54:30Z dougb $ | 28# $FreeBSD: head/etc/rc 168283 2007-04-02 22:53:07Z des $ |
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 --- 33 unchanged lines hidden (view full) --- 70# 71. /etc/rc.subr 72echo "Loading configuration files." 73load_rc_config 'XXX' 74 75skip="-s nostart" 76if [ `/sbin/sysctl -n security.jail.jailed` -eq 1 ]; then 77 skip="$skip -s nojail" | 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 --- 33 unchanged lines hidden (view full) --- 70# 71. /etc/rc.subr 72echo "Loading configuration files." 73load_rc_config 'XXX' 74 75skip="-s nostart" 76if [ `/sbin/sysctl -n security.jail.jailed` -eq 1 ]; then 77 skip="$skip -s nojail" |
78 if [ "$early_late_divider" = "mountcritlocal" ]; then | 78 if [ "$early_late_divider" = "FILESYSTEMS" ]; then |
79 early_late_divider=NETWORKING 80 fi 81fi 82 83# Do a first pass to get everything up to $early_late_divider so that 84# we can do a second pass that includes $local_startup directories 85# 86files=`rcorder ${skip} /etc/rc.d/* 2>/dev/null` --- 36 unchanged lines hidden --- | 79 early_late_divider=NETWORKING 80 fi 81fi 82 83# Do a first pass to get everything up to $early_late_divider so that 84# we can do a second pass that includes $local_startup directories 85# 86files=`rcorder ${skip} /etc/rc.d/* 2>/dev/null` --- 36 unchanged lines hidden --- |