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