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:
parent
c00ee5f089
commit
38de38f2e1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue