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