[comp.sys.next] Setting time on the NeXT - an answer

gerrit@nova.cc.purdue.edu (Gerrit) (04/21/89)

To set the appropriate timezone:

	cd /etc/zoneinfo
	su
	rm localtime
	ln EST localtime

Now for the undocumented trick...  The date command takes a couple of
options:  -t minutes_West and -d <daylight_savings>.  In Indiana, we are
300 minutes West of standard time, so in /etc/rc.boot we add:

	date -t 300 > /dev/console

For someone in Illinois, the date line might be something like:

	date -t 360 -d 1 > /dev/console

This change will allow things like sendmail to correctly date stamp mail.

Gerrit Huizenga
NeXT Workstation Support
Purdue University Computing Center
gerrit@mentor.cc.purdue.edu