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