Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/etc/root Pull up rev 1.10:
details: https://anonhg.NetBSD.org/src/rev/878729ef4bd1
branches: netbsd-1-4
changeset: 468340:878729ef4bd1
user: mycroft <mycroft%NetBSD.org@localhost>
date: Mon Apr 19 04:04:02 1999 +0000
description:
Pull up rev 1.10:
Avoid using id(1), as this loses when /usr isn't mounted.
diffstat:
etc/root/dot.profile | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
diffs (21 lines):
diff -r ddf002145bc4 -r 878729ef4bd1 etc/root/dot.profile
--- a/etc/root/dot.profile Sun Apr 18 00:22:31 1999 +0000
+++ b/etc/root/dot.profile Mon Apr 19 04:04:02 1999 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.9 1999/03/30 02:36:05 hubertf Exp $
+# $NetBSD: dot.profile,v 1.9.2.1 1999/04/19 04:04:02 mycroft Exp $
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin
PATH=${PATH}:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin
@@ -20,10 +20,6 @@
ll(){ ls -l $* ; }
x(){ exit ; }
-if [ `/usr/bin/id -u` = 0 ]; then
- PS1="`hostname -s`# "
-else
- PS1="`hostname -s`$ "
-fi
+PS1="`hostname -s`$PS1"
echo "Don't login as root, use the su command."
Home |
Main Index |
Thread Index |
Old Index