Deleted Added
full compact
rc (256917) rc (260432)
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: stable/9/etc/rc 256917 2013-10-22 16:13:15Z cperciva $
28# $FreeBSD: stable/9/etc/rc 260432 2014-01-08 02:30:24Z cperciva $
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

--- 29 unchanged lines hidden (view full) ---

66
67# Run these after determining whether we are booting diskless in order
68# to minimize the number of files that are needed on a diskless system,
69# and to make the configuration file variables available to rc itself.
70#
71. /etc/rc.subr
72load_rc_config 'XXX'
73
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

--- 29 unchanged lines hidden (view full) ---

66
67# Run these after determining whether we are booting diskless in order
68# to minimize the number of files that are needed on a diskless system,
69# and to make the configuration file variables available to rc itself.
70#
71. /etc/rc.subr
72load_rc_config 'XXX'
73
74# If we receive a SIGALRM, re-source /etc/rc.conf; this allows rc.d
75# scripts to perform "boot-time configuration" including enabling and
76# disabling rc.d scripts which appear later in the boot order.
77trap "_rc_conf_loaded=false; load_rc_config 'XXX'" ALRM
78
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"

--- 60 unchanged lines hidden ---
79skip="-s nostart"
80if [ `/sbin/sysctl -n security.jail.jailed` -eq 1 ]; then
81 skip="$skip -s nojail"
82 if [ "$early_late_divider" = "FILESYSTEMS" ]; then
83 early_late_divider=NETWORKING
84 fi
85 if [ `/sbin/sysctl -n security.jail.vnet` -ne 1 ]; then
86 skip="$skip -s nojailvnet"

--- 60 unchanged lines hidden ---