The contents of this file are evaluated by root, users without a home dir,

and even by the shell in single user mode.  This change makes it work in
all of those circumstances, though probably not optimally.

It is likely that something better will be checked in after all of the
outstanding issues are resolved, but I have to check in something that
works before this week's tarballs are created.
This commit is contained in:
jtc 1994-03-26 01:27:47 +00:00
parent c00ee5f089
commit 38de38f2e1
1 changed files with 4 additions and 2 deletions

View File

@ -2,5 +2,7 @@ PATH=/sbin:/usr/sbin:/bin:/usr/bin:.
export PATH
HOME=/root
export HOME
eval `tset -sQ \$TERM`
echo "Don't login as root, use su"
if [ -x /usr/bin/tset ]; then
eval `/usr/bin/tset -sQ \?$TERM`
fi