2022-12-26 02:58:50 +03:00
|
|
|
# $NetBSD: dot.profile,v 1.35 2022/12/25 23:58:50 nia Exp $
|
1997-10-28 06:33:18 +03:00
|
|
|
|
2022-07-09 12:43:51 +03:00
|
|
|
case "${PATH}" in
|
|
|
|
/rescue:*) ;; # leave it alone, user can change manually (if required)
|
|
|
|
*) export PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin
|
2022-12-26 02:58:50 +03:00
|
|
|
export PATH=${PATH}:/usr/games:/usr/X11R7/bin
|
|
|
|
export PATH=${PATH}:/usr/local/sbin:/usr/local/bin
|
2022-07-09 12:43:51 +03:00
|
|
|
;;
|
|
|
|
esac
|
1997-02-15 13:02:07 +03:00
|
|
|
|
2009-02-15 04:31:43 +03:00
|
|
|
# Uncomment the following line(s) to install binary packages
|
2017-12-07 21:26:51 +03:00
|
|
|
# from cdn.NetBSD.org via pkg_add. (See also pkg_install.conf)
|
2020-08-24 15:46:57 +03:00
|
|
|
#export PKG_PATH="https://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/$(uname -p)/$(uname -r|cut -f '1 2' -d.|cut -f 1 -d_)/All"
|
2008-11-11 02:17:13 +03:00
|
|
|
|
1999-11-05 14:30:13 +03:00
|
|
|
export BLOCKSIZE=1k
|
1994-03-26 04:27:47 +03:00
|
|
|
|
2005-02-22 12:12:17 +03:00
|
|
|
export HOST="$(hostname)"
|
2005-02-22 11:28:34 +03:00
|
|
|
|
1997-02-15 13:02:07 +03:00
|
|
|
umask 022
|
1999-11-05 14:30:13 +03:00
|
|
|
#ulimit -c 0
|
1997-02-15 13:02:07 +03:00
|
|
|
|
2002-10-10 15:15:41 +04:00
|
|
|
export ENV=/root/.shrc
|
1999-03-30 06:36:05 +04:00
|
|
|
|
2000-02-16 05:02:02 +03:00
|
|
|
# Do not display in 'su -' case
|
2022-07-21 10:51:12 +03:00
|
|
|
if [ -z "$SU_FROM" ] && [ "$PPID" -ne 1 ]; then
|
2009-05-16 03:57:50 +04:00
|
|
|
echo "We recommend that you create a non-root account and use su(1) for root access."
|
2000-02-16 05:02:02 +03:00
|
|
|
fi
|