rc (232976) | rc (250804) |
---|---|
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 232976 2012-03-14 16:10:39Z ed $ | 28# $FreeBSD: head/etc/rc 250804 2013-05-19 04:10:34Z jamie $ |
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 --- 35 unchanged lines hidden (view full) --- 72load_rc_config 'XXX' 73 74skip="-s nostart" 75if [ `/sbin/sysctl -n security.jail.jailed` -eq 1 ]; then 76 skip="$skip -s nojail" 77 if [ "$early_late_divider" = "FILESYSTEMS" ]; then 78 early_late_divider=NETWORKING 79 fi | 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 --- 35 unchanged lines hidden (view full) --- 72load_rc_config 'XXX' 73 74skip="-s nostart" 75if [ `/sbin/sysctl -n security.jail.jailed` -eq 1 ]; then 76 skip="$skip -s nojail" 77 if [ "$early_late_divider" = "FILESYSTEMS" ]; then 78 early_late_divider=NETWORKING 79 fi |
80 if [ `/sbin/sysctl -n security.jail.vnet` -ne 1 ]; then 81 skip="$skip -s nojailvnet" 82 fi |
|
80fi 81 82# Do a first pass to get everything up to $early_late_divider so that 83# we can do a second pass that includes $local_startup directories 84# 85files=`rcorder ${skip} /etc/rc.d/* 2>/dev/null` 86 87_rc_elem_done=' ' --- 31 unchanged lines hidden --- | 83fi 84 85# Do a first pass to get everything up to $early_late_divider so that 86# we can do a second pass that includes $local_startup directories 87# 88files=`rcorder ${skip} /etc/rc.d/* 2>/dev/null` 89 90_rc_elem_done=' ' --- 31 unchanged lines hidden --- |