dot.profile revision 1.10
11.10Scgd# $NetBSD: dot.profile,v 1.10 2000/06/14 22:52:49 cgd Exp $ 21.1Soki# 31.10Scgd# Copyright (c) 1997 Perry E. Metzger 41.1Soki# Copyright (c) 1994 Christopher G. Demetriou 51.1Soki# All rights reserved. 61.1Soki# 71.1Soki# Redistribution and use in source and binary forms, with or without 81.1Soki# modification, are permitted provided that the following conditions 91.1Soki# are met: 101.1Soki# 1. Redistributions of source code must retain the above copyright 111.1Soki# notice, this list of conditions and the following disclaimer. 121.1Soki# 2. Redistributions in binary form must reproduce the above copyright 131.1Soki# notice, this list of conditions and the following disclaimer in the 141.1Soki# documentation and/or other materials provided with the distribution. 151.1Soki# 3. All advertising materials mentioning features or use of this software 161.1Soki# must display the following acknowledgement: 171.10Scgd# This product includes software developed for the 181.10Scgd# NetBSD Project. See http://www.netbsd.org/ for 191.10Scgd# information about NetBSD. 201.1Soki# 4. The name of the author may not be used to endorse or promote products 211.10Scgd# derived from this software without specific prior written permission. 221.10Scgd# 231.1Soki# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 241.1Soki# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 251.1Soki# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 261.1Soki# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 271.1Soki# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 281.1Soki# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 291.1Soki# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 301.1Soki# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 311.1Soki# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 321.1Soki# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 331.10Scgd# 341.10Scgd# <<Id: LICENSE,v 1.2 2000/06/14 15:57:33 cgd Exp>> 351.1Soki 361.1SokiPATH=/sbin:/bin:/usr/bin:/usr/sbin:/ 371.1Sokiexport PATH 381.3SminouraTERM=x68k 391.1Sokiexport TERM 401.2SperryHOME=/ 411.2Sperryexport HOME 421.1Soki 431.1Sokiumask 022 441.1Soki 451.8StsutsuiROOTDEV=/dev/md0a 461.1Soki 471.1Sokiif [ "X${DONEPROFILE}" = "X" ]; then 481.1Soki DONEPROFILE=YES 491.5Scgd export DONEPROFILE 501.1Soki 511.1Soki # set up some sane defaults 521.1Soki echo 'erase ^?, werase ^W, kill ^U, intr ^C' 531.1Soki stty newcrt werase ^W intr ^C kill ^U erase ^? 9600 541.1Soki echo '' 551.1Soki 561.1Soki # mount the ramdisk read write 571.1Soki mount -u $ROOTDEV / 581.1Soki 591.1Soki # mount the kern_fs so that we can examine the dmesg state 601.1Soki mount -t kernfs /kern /kern 611.1Soki 621.1Soki # pull in the functions that people will use from the shell prompt. 631.1Soki . /.commonutils 641.1Soki . /.instutils 651.1Soki 661.1Soki # run the installation or upgrade script. 671.4Sminoura . /start 681.1Sokifi 69