diff options
| author | cvs2svn <cvs2svn@FreeBSD.org> | 2002-07-03 19:06:37 +0000 |
|---|---|---|
| committer | cvs2svn <cvs2svn@FreeBSD.org> | 2002-07-03 19:06:37 +0000 |
| commit | 15847b71a435e03b0f285c55277cfd8942b5c0ea (patch) | |
| tree | 1fc82878da62b7e8fdd4486e6a036f4f7c49a2d0 /etc/rc | |
| parent | 91ff3f77dca4dedb1d73ece790552a5a61379a23 (diff) | |
Notes
Diffstat (limited to 'etc/rc')
| -rw-r--r-- | etc/rc | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/etc/rc b/etc/rc deleted file mode 100644 index 19f62e74d9df..000000000000 --- a/etc/rc +++ /dev/null @@ -1,43 +0,0 @@ -#!/bin/sh -# -# $NetBSD: rc,v 1.152 2000/04/22 03:01:22 lukem Exp $ -# -# rc.sh -- -# Run the scripts in /etc/rc.d with rcorder. - -# System startup script run by init on autoboot or after single-user. -# Output and error are redirected to console by init, and the console -# is the controlling terminal. - -export HOME=/ -export PATH=/sbin:/bin:/usr/sbin:/usr/bin - -. /etc/rc.subr -. /etc/rc.conf - -if ! checkyesno rc_configured; then - echo "/etc/rc.conf is not configured. Multiuser boot aborted." - exit 1 -fi - -if [ "$1" = autoboot ]; then - autoboot=yes - _rc_fast_run=yes # run_rc_command(): do fast booting -fi - -stty status '^T' - -# Set shell to ignore SIGINT (2), but not children; -# shell catches SIGQUIT (3) and returns to single user. -# -trap : 2 -trap "echo 'Boot interrupted.'; exit 1" 3 - -files=`rcorder -s nostart /etc/rc.d/*` - -for i in $files; do - run_rc_script $i start -done - -date -exit 0 |
