rc (57572) | rc (58566) |
---|---|
1#!/bin/sh | 1#!/bin/sh |
2# $FreeBSD: head/etc/rc 57572 2000-02-28 19:54:06Z markm $ | 2# $FreeBSD: head/etc/rc 58566 2000-03-25 16:17:53Z dan $ |
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 --- 184 unchanged lines hidden (view full) --- 195[Yy][Ee][Ss]) 196 if [ -r /etc/rc.network6 ]; then 197 . /etc/rc.network6 # We only need to do this once also. 198 network6_pass1 199 fi 200 ;; 201esac 202 | 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 --- 184 unchanged lines hidden (view full) --- 195[Yy][Ee][Ss]) 196 if [ -r /etc/rc.network6 ]; then 197 . /etc/rc.network6 # We only need to do this once also. 198 network6_pass1 199 fi 200 ;; 201esac 202 |
203# Mount NFS filesystems. 204echo -n "Mounting NFS file systems" 205mount -a -t nfs 206echo . | 203# Mount NFS filesystems if present in /etc/fstab 204if mount -d -a -t nfs | grep nfs >/dev/null 2>&1; then 205 echo -n "Mounting NFS file systems" 206 mount -a -t nfs 207 echo . 208fi |
207 208# Whack the pty perms back into shape. 209# 210chflags 0 /dev/tty[pqrsPQRS]* 211chmod 666 /dev/tty[pqrsPQRS]* 212chown root:wheel /dev/tty[pqrsPQRS]* 213 214# Clean up left-over files --- 337 unchanged lines hidden --- | 209 210# Whack the pty perms back into shape. 211# 212chflags 0 /dev/tty[pqrsPQRS]* 213chmod 666 /dev/tty[pqrsPQRS]* 214chown root:wheel /dev/tty[pqrsPQRS]* 215 216# Clean up left-over files --- 337 unchanged lines hidden --- |