11.1Srafal#
21.1Srafal# Copyright (c) 1997 Perry E. Metzger
31.1Srafal# Copyright (c) 1994 Christopher G. Demetriou
41.1Srafal# All rights reserved.
51.1Srafal# 
61.1Srafal# Redistribution and use in source and binary forms, with or without
71.1Srafal# modification, are permitted provided that the following conditions
81.1Srafal# are met:
91.1Srafal# 1. Redistributions of source code must retain the above copyright
101.1Srafal#    notice, this list of conditions and the following disclaimer.
111.1Srafal# 2. Redistributions in binary form must reproduce the above copyright
121.1Srafal#    notice, this list of conditions and the following disclaimer in the
131.1Srafal#    documentation and/or other materials provided with the distribution.
141.1Srafal# 3. All advertising materials mentioning features or use of this software
151.1Srafal#    must display the following acknowledgement:
161.1Srafal#          This product includes software developed for the
171.3Ssalo#          NetBSD Project.  See http://www.NetBSD.org/ for
181.1Srafal#          information about NetBSD.
191.1Srafal# 4. The name of the author may not be used to endorse or promote products
201.1Srafal#    derived from this software without specific prior written permission.
211.1Srafal# 
221.1Srafal# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
231.1Srafal# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
241.1Srafal# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
251.1Srafal# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
261.1Srafal# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
271.1Srafal# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
281.1Srafal# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
291.1Srafal# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
301.1Srafal# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
311.1Srafal# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
321.1Srafal# 
331.1Srafal# <<Id: LICENSE,v 1.2 2000/06/14 15:57:33 cgd Exp>>
341.1Srafal
351.1SrafalPATH=/sbin:/bin:/usr/bin:/usr/sbin:/
361.1Srafalexport PATH
371.1SrafalTERM=vt100
381.1Srafalexport TERM
391.1SrafalHOME=/
401.1Srafalexport HOME
411.1Srafal
421.1Srafalumask 022
431.1Srafal
441.1SrafalROOTDEV=/dev/md0a
451.1Srafal
461.1Srafalif [ "X${DONEPROFILE}" = "X" ]; then
471.1Srafal	DONEPROFILE=YES
481.1Srafal	export DONEPROFILE
491.1Srafal
501.1Srafal	# get the terminal type
511.1Srafal	eval `tset -s -m ":?$TERM"`
521.1Srafal
531.1Srafal	# set up some sane defaults
541.1Srafal	echo 'erase ^?, werase ^W, kill ^U, intr ^C'
551.2Srafal	stty newcrt werase ^W intr ^C kill ^U erase ^?
561.1Srafal	echo ''
571.1Srafal
581.1Srafal	# mount the ramdisk read write
591.1Srafal	mount -u $ROOTDEV /
601.1Srafal
611.1Srafal	# mount the kern_fs so that we can examine the dmesg state
621.1Srafal	mount -t kernfs /kern /kern
631.1Srafal
641.1Srafal	# run the installation program
651.4Smartin	sysinst || stty sane
661.1Srafalfi
67