Deleted Added
full compact
rc (221227) rc (232976)
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 221227 2011-04-29 21:10:41Z dougb $
28# $FreeBSD: head/etc/rc 232976 2012-03-14 16:10:39Z ed $
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
37# this file, but rather in /etc/defaults/rc.conf. Please check that file
38# first before contemplating any changes here. If you do need to change
39# this file for some reason, we would like to know about it.
40
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
37# this file, but rather in /etc/defaults/rc.conf. Please check that file
38# first before contemplating any changes here. If you do need to change
39# this file for some reason, we would like to know about it.
40
41stty status '^T'
41stty status '^T' 2> /dev/null
42
43# Set shell to ignore SIGINT (2), but not children;
44# shell catches SIGQUIT (3) and returns to single user.
45#
46trap : 2
47trap "echo 'Boot interrupted'; exit 1" 3
48
49HOME=/

--- 69 unchanged lines hidden ---
42
43# Set shell to ignore SIGINT (2), but not children;
44# shell catches SIGQUIT (3) and returns to single user.
45#
46trap : 2
47trap "echo 'Boot interrupted'; exit 1" 3
48
49HOME=/

--- 69 unchanged lines hidden ---