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