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