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