Deleted Added
full compact
rc (61411) rc (63307)
1#!/bin/sh
1#!/bin/sh
2# $FreeBSD: head/etc/rc 61411 2000-06-08 08:57:35Z brian $
2# $FreeBSD: head/etc/rc 63307 2000-07-17 12:28:58Z markm $
3# From: @(#)rc 5.27 (Berkeley) 6/5/91
4
5# System startup script run by init on autoboot
6# or after single-user.
7# Output and error are redirected to console by init,
8# and the console is the controlling terminal.
9
10# Note that almost all of the user-configurable behavior is no longer in

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

127esac
128
129# Run custom disk mounting function here
130#
131if [ -n "${diskless_mount}" -a -r "${diskless_mount}" ]; then
132 sh ${diskless_mount}
133fi
134
3# From: @(#)rc 5.27 (Berkeley) 6/5/91
4
5# System startup script run by init on autoboot
6# or after single-user.
7# Output and error are redirected to console by init,
8# and the console is the controlling terminal.
9
10# Note that almost all of the user-configurable behavior is no longer in

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

127esac
128
129# Run custom disk mounting function here
130#
131if [ -n "${diskless_mount}" -a -r "${diskless_mount}" ]; then
132 sh ${diskless_mount}
133fi
134
135# Recover some entropy so the rebooting /dev/random can reseed
136#
137case ${entropy_file} in
138[Nn][Oo] | '')
139 ;;
140*)
141 if [ -f ${entropy_file} -a -r ${entropy_file} ] ; then
142 echo -n "Reading entropy file"
143 cat ${entropy_file} > /dev/random
144 rm -f ${entropy_file}
145 fi
146 ;;
147esac
148
135adjkerntz -i
136
137clean_var() {
138 if [ ! -f /var/run/clean_var ]; then
139 rm -rf /var/run/*
140 find /var/spool/lock ! -type d -delete
141 rm -rf /var/spool/uucp/.Temp/*
142 # Keep a copy of the boot messages around

--- 417 unchanged lines hidden ---
149adjkerntz -i
150
151clean_var() {
152 if [ ! -f /var/run/clean_var ]; then
153 rm -rf /var/run/*
154 find /var/spool/lock ! -type d -delete
155 rm -rf /var/spool/uucp/.Temp/*
156 # Keep a copy of the boot messages around

--- 417 unchanged lines hidden ---