If we are going to point ENV at .shrc, and link this in as /.profile as well
as /root/.profile, then use /root/.shrc rather than $HOME/.shrc otherwise single user mode tries to use /.shrc...
This commit is contained in:
parent
d32bd396f2
commit
5470c1def0
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: dot.profile,v 1.15 2000/02/19 19:00:14 mycroft Exp $
|
||||
# $NetBSD: dot.profile,v 1.16 2002/10/10 11:15:41 abs Exp $
|
||||
|
||||
export PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin
|
||||
export PATH=${PATH}:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin
|
||||
|
@ -13,7 +13,7 @@ fi
|
|||
umask 022
|
||||
#ulimit -c 0
|
||||
|
||||
export ENV=$HOME/.shrc
|
||||
export ENV=/root/.shrc
|
||||
|
||||
# Do not display in 'su -' case
|
||||
if [ -z "$SU_FROM" ]; then
|
||||
|
|
Loading…
Reference in New Issue