rc (1668) | rc (1675) |
---|---|
1#!/bin/sh | 1#!/bin/sh |
2# $Id: rc,v 1.23 1994/05/23 11:22:10 ache Exp $ | 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 | 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 |
|
72# set hostname, turn on network 73echo 'starting network' 74. /etc/netstart 75 76# clean up left-over files 77rm -f /etc/nologin 78rm -f /var/spool/lock/* 79rm -f /var/spool/uucp/.Temp/* --- 151 unchanged lines hidden --- | 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 --- |