home *** CD-ROM | disk | FTP | other *** search
- :
- # @(#) inst96.src 1.4 87/12/28
- #
- # Copyright (C) The Santa Cruz Operation, 1985.
- # This Module contains Proprietary Information of
- # The Santa Cruz Operation, Microsoft Corporation
- # and AT&T, and should be treated as Confidential.
- #
- # /tmp/init.inst - onetime initialization script
- #
- PATH=/bin:/usr/bin:/etc
-
- # Return code definitions
- : ${OK=0} ${FAIL=1} ${STOP=10} ${HALT=11}
-
- # Must be at root for fixperm to work
- cd /
-
- # Move in the final /etc/default/boot file
- mv /etc/default/boothd /etc/default/boot
-
- # Initialize everything that was on the installation floppies
- /etc/fixperm -c -dPERM -dINST -dRTS -dFD48 -dFD96 /etc/inst.perms
- /etc/fixperm -c -dPERM /etc/dsmd.perms /etc/tpmd.perms
-
- # Clear out /dev/recover if it exists.
- [ -b /dev/recover ] &&
- echo "\000\c" | dd of=/dev/recover bs=10k conv=sync 2>/dev/null
-
- # Set up /etc/default/boot with /dev/scratch entry
- [ -b /dev/scratch ] && echo "SCRATCH=/dev/scratch" >> /etc/default/boot
- exit $STOP
-