svn commit: r244006 - stable/7/etc/root

Eitan Adler eadler at FreeBSD.org
Sat Dec 8 00:25:52 UTC 2012


Author: eadler
Date: Sat Dec  8 00:25:51 2012
New Revision: 244006
URL: http://svnweb.freebsd.org/changeset/base/244006

Log:
  MFC r243893:
  	Remove hack to emulate effective uid and just use the EUID's name in the
  	first place.  I was unaware of this option when originally committing
  	this change.
  
  Approved by:	cperciva (implicit)

Modified:
  stable/7/etc/root/dot.cshrc
Directory Properties:
  stable/7/etc/   (props changed)

Modified: stable/7/etc/root/dot.cshrc
==============================================================================
--- stable/7/etc/root/dot.cshrc	Sat Dec  8 00:25:51 2012	(r244005)
+++ stable/7/etc/root/dot.cshrc	Sat Dec  8 00:25:51 2012	(r244006)
@@ -23,10 +23,7 @@ setenv	BLOCKSIZE	K
 
 if ($?prompt) then
 	# An interactive shell -- set some stuff up
-	if ($uid == 0) then
-		set user = root
-	endif
-	set prompt = "%n@%m:%~ %# "
+	set prompt = "%N@%m:%~ %# "
 	set promptchars = "%#"
 
 	set filec


More information about the svn-src-all mailing list