rc (92481) | rc (92516) |
---|---|
1#!/bin/sh 2# 3# Copyright (c) 2000 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 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 92481 2002-03-17 08:38:03Z dougb $ | 28# $FreeBSD: head/etc/rc 92516 2002-03-17 20:14:11Z dougb $ |
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 --- 362 unchanged lines hidden (view full) --- 399 mdev=`mdconfig -a -t vnode -f ${swapfile}` && swapon /dev/${mdev} 400 fi 401 ;; 402esac 403 404# Early pass to set the variables we can 405# 406if [ -r /etc/rc.sysctl ]; then | 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 --- 362 unchanged lines hidden (view full) --- 399 mdev=`mdconfig -a -t vnode -f ${swapfile}` && swapon /dev/${mdev} 400 fi 401 ;; 402esac 403 404# Early pass to set the variables we can 405# 406if [ -r /etc/rc.sysctl ]; then |
407 echo 'Warnings here may be due to modules that have not been loaded yet' 408 . /etc/rc.sysctl | 407 . /etc/rc.sysctl first |
409fi 410 411# Configure serial devices 412# 413if [ -r /etc/rc.serial ]; then 414 . /etc/rc.serial 415fi 416 --- 496 unchanged lines hidden (view full) --- 913 914if [ -n "${network_pass3_done}" ]; then 915 network_pass4 916fi 917 918# Late pass to set variables we missed the first time 919# 920if [ -r /etc/rc.sysctl ]; then | 408fi 409 410# Configure serial devices 411# 412if [ -r /etc/rc.serial ]; then 413 . /etc/rc.serial 414fi 415 --- 496 unchanged lines hidden (view full) --- 912 913if [ -n "${network_pass3_done}" ]; then 914 network_pass4 915fi 916 917# Late pass to set variables we missed the first time 918# 919if [ -r /etc/rc.sysctl ]; then |
921 . /etc/rc.sysctl | 920 . /etc/rc.sysctl last |
922fi 923 924# Raise kernel security level. This should be done only after `fsck' has 925# repaired local file systems if you want the securelevel to be greater than 1. 926# 927case ${kern_securelevel_enable} in 928[Yy][Ee][Ss]) 929 if [ "${kern_securelevel}" -ge 0 ]; then --- 20 unchanged lines hidden --- | 921fi 922 923# Raise kernel security level. This should be done only after `fsck' has 924# repaired local file systems if you want the securelevel to be greater than 1. 925# 926case ${kern_securelevel_enable} in 927[Yy][Ee][Ss]) 928 if [ "${kern_securelevel}" -ge 0 ]; then --- 20 unchanged lines hidden --- |