Files
Arquivotheca.Solaris-2.5/cmd/nsadmin/stdprofile
seta75D 7c4988eac0 Init
2021-10-11 19:38:01 -03:00

29 lines
666 B
Plaintext
Executable File

#ident "@(#)stdprofile 1.7 93/09/16 SMI" /* SVr4.0 1.1 */
# This is the default standard profile provided to a user.
# They are expected to edit it to meet their own needs.
MAIL=/usr/mail/${LOGNAME:?}
#
# If possible, start the windows system
#
if [ `tty` = "/dev/console" ] ; then
if [ "$TERM" = "sun" -o "$TERM" = "AT386" ] ; then
if [ ${OPENWINHOME:-""} = "" ] ; then
OPENWINHOME=/usr/openwin
export OPENWINHOME
fi
echo ""
echo "Starting OpenWindows in 5 seconds (type Control-C to interrupt)"
sleep 5
echo ""
$OPENWINHOME/bin/openwin
clear # get rid of annoying cursor rectangle
exit # logout after leaving windows system
fi
fi