Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/etc/root If we are going to point ENV at .shrc, and link thi...



details:   https://anonhg.NetBSD.org/src/rev/35ccf947f668
branches:  trunk
changeset: 538036:35ccf947f668
user:      abs <abs%NetBSD.org@localhost>
date:      Thu Oct 10 11:15:41 2002 +0000

description:
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...

diffstat:

 etc/root/dot.profile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 311c8219bfea -r 35ccf947f668 etc/root/dot.profile
--- a/etc/root/dot.profile      Thu Oct 10 10:51:56 2002 +0000
+++ b/etc/root/dot.profile      Thu Oct 10 11:15:41 2002 +0000
@@ -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 @@
 umask 022
 #ulimit -c 0
 
-export ENV=$HOME/.shrc
+export ENV=/root/.shrc
 
 # Do not display in 'su -' case
 if [ -z "$SU_FROM" ]; then



Home | Main Index | Thread Index | Old Index