#! /bin/csh
#
# |-----------------------------------------------------------|
# | Copyright (c) 1991, 1990 MIPS Computer Systems, Inc.      |
# | All Rights Reserved                                       |
# |-----------------------------------------------------------|
# |          Restricted Rights Legend                         |
# | Use, duplication, or disclosure by the Government is      |
# | subject to restrictions as set forth in                   |
# | subparagraph (c)(1)(ii) of the Rights in Technical        |
# | Data and Computer Software Clause of DFARS 252.227-7013.  |
# |         MIPS Computer Systems, Inc.                       |
# |         950 DeGuigne Avenue                               |
# |         Sunnyvale, California 94088-3650, USA             |
# |-----------------------------------------------------------|
#
# $Header: TIMEZONE.csh,v 1.3.2.1 92/06/24 14:13:00 marker Exp $
#	Set timezone environment to default for the machine
#	This is executed from /etc/profile when going to single
#	user mode.  Must be done this way because login is not run
#	to go to this mode; and TZ must be set to get the correct
#	functionality from date(1-SysV).  /bin/csh has its own version.
#
#	Now login initializes the TZ the following way: (multi-user)
#		from the environment if it exists (i.e. from login), OR
#		from the file /etc/TZ if that exists, OR
#		from a default built into login.
set ___fubar___=(`cat /etc/TZ`)
setenv TZ $___fubar___[1]
unset ___fubar___
