1#!/bin/sh
2# $Id: rc,v 1.24 1994/06/01 17:04:01 paul Exp $
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
10stty status '^T'
--- 53 unchanged lines hidden (view full) ---
64rm -f /fastboot # XXX (root now writeable)
65
66# If the machine runs wall CMOS clock (compatible with MSDOS),
67# activate following line by creating empty file /etc/wall_cmos_clock
68# If this file not exist, following line does nothing (assumed
69# the machine runs UTC CMOS clock). See adjkerntz(8) for details.
70adjkerntz -i
71
72# configure serial devices
73if [ -f /etc/rc.serial ]
74then
75 sh /etc/rc.serial
76fi
77
78# set hostname, turn on network
79echo 'starting network'
80. /etc/netstart
81
82# clean up left-over files
83rm -f /etc/nologin
84rm -f /var/spool/lock/*
85rm -f /var/spool/uucp/.Temp/*
--- 151 unchanged lines hidden ---
2# $Id: rc,v 1.24 1994/06/01 17:04:01 paul Exp $
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
10stty status '^T'
--- 53 unchanged lines hidden (view full) ---
64rm -f /fastboot # XXX (root now writeable)
65
66# If the machine runs wall CMOS clock (compatible with MSDOS),
67# activate following line by creating empty file /etc/wall_cmos_clock
68# If this file not exist, following line does nothing (assumed
69# the machine runs UTC CMOS clock). See adjkerntz(8) for details.
70adjkerntz -i
71
72# configure serial devices
73if [ -f /etc/rc.serial ]
74then
75 sh /etc/rc.serial
76fi
77
78# set hostname, turn on network
79echo 'starting network'
80. /etc/netstart
81
82# clean up left-over files
83rm -f /etc/nologin
84rm -f /var/spool/lock/*
85rm -f /var/spool/uucp/.Temp/*
--- 151 unchanged lines hidden ---