NetBSD/etc/root/dot.profile

28 lines
849 B
Plaintext

# $NetBSD: dot.profile,v 1.25 2011/06/21 05:31:29 erh Exp $
export PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin
export PATH=${PATH}:/usr/X11R7/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin
# Uncomment the following line(s) to install binary packages
# from ftp.NetBSD.org via pkg_add. (See also pkg_install.conf)
#export PKG_PATH="ftp://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/$(uname -m)/5.1/All"
#export PKG_PATH="${PKG_PATH};ftp://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/$(uname -m)/5.0/All"
export BLOCKSIZE=1k
export HOST="$(hostname)"
if [ -x /usr/bin/tset ]; then
eval $(tset -sQrm 'unknown:?unknown')
fi
umask 022
#ulimit -c 0
export ENV=/root/.shrc
# Do not display in 'su -' case
if [ -z "$SU_FROM" ]; then
echo "We recommend that you create a non-root account and use su(1) for root access."
fi