dot.profile revision 1.4
11.1Schopps# 21.1Schopps# Copyright (c) 1994 Christopher G. Demetriou 31.1Schopps# All rights reserved. 41.1Schopps# 51.1Schopps# Redistribution and use in source and binary forms, with or without 61.1Schopps# modification, are permitted provided that the following conditions 71.1Schopps# are met: 81.1Schopps# 1. Redistributions of source code must retain the above copyright 91.1Schopps# notice, this list of conditions and the following disclaimer. 101.1Schopps# 2. Redistributions in binary form must reproduce the above copyright 111.1Schopps# notice, this list of conditions and the following disclaimer in the 121.1Schopps# documentation and/or other materials provided with the distribution. 131.1Schopps# 3. All advertising materials mentioning features or use of this software 141.1Schopps# must display the following acknowledgement: 151.1Schopps# This product includes software developed by Christopher G. Demetriou. 161.1Schopps# 4. The name of the author may not be used to endorse or promote products 171.1Schopps# derived from this software without specific prior written permission 181.1Schopps# 191.1Schopps# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 201.1Schopps# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 211.1Schopps# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 221.1Schopps# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 231.1Schopps# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 241.1Schopps# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 251.1Schopps# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 261.1Schopps# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 271.1Schopps# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 281.1Schopps# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 291.1Schopps# 301.4Scgd# $NetBSD: dot.profile,v 1.4 1999/06/26 06:12:51 cgd Exp $ 311.1Schopps 321.1SchoppsPATH=/sbin:/bin:/usr/bin:/usr/sbin:/ 331.1Schoppsexport PATH 341.1SchoppsTERM=vt100 351.1Schoppsexport TERM 361.3SperryHOME=/ 371.3Sperryexport HOME 381.1Schopps 391.1Schoppsumask 022 401.1Schopps 411.1Schoppsif [ "X${DONEPROFILE}" = "X" ]; then 421.1Schopps DONEPROFILE=YES 431.4Scgd export DONEPROFILE 441.1Schopps 451.1Schopps # set up some sane defaults 461.1Schopps echo 'erase ^?, werase ^W, kill ^U, intr ^C' 471.1Schopps stty newcrt werase ^W intr ^C kill ^U erase ^? 9600 481.1Schopps echo '' 491.1Schopps 501.1Schopps # run update, so that installed software is written as it goes. 511.1Schopps update 521.1Schopps 531.1Schopps # pull in the functions that people will use from the shell prompt. 541.1Schopps . /.commonutils 551.1Schopps . /.upgrutils 561.1Schopps 571.1Schopps # run the upgrade script. 581.1Schopps upgrade 591.1Schoppsfi 60