dot.profile revision 1.34
1# $NetBSD: dot.profile,v 1.34 2022/07/21 07:51:12 kre Exp $ 2 3case "${PATH}" in 4/rescue:*) ;; # leave it alone, user can change manually (if required) 5*) export PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin 6 export PATH=${PATH}:/usr/X11R7/bin:/usr/local/sbin:/usr/local/bin 7 ;; 8esac 9 10# Uncomment the following line(s) to install binary packages 11# from cdn.NetBSD.org via pkg_add. (See also pkg_install.conf) 12#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" 13 14export BLOCKSIZE=1k 15 16export HOST="$(hostname)" 17 18umask 022 19#ulimit -c 0 20 21export ENV=/root/.shrc 22 23# Do not display in 'su -' case 24if [ -z "$SU_FROM" ] && [ "$PPID" -ne 1 ]; then 25 echo "We recommend that you create a non-root account and use su(1) for root access." 26fi 27