*BSD News Article 9877


Return to BSD News archive

Received: by minnie.vk1xwt.ampr.org with NNTP
	id AA6700 ; Tue, 12 Jan 93 08:08:22 EST
Path: sserve!manuel.anu.edu.au!munnari.oz.au!sgiblab!zaphod.mps.ohio-state.edu!howland.reston.ans.net!paladin.american.edu!news.univie.ac.at!hp4at!mcsun!uknet!axion!rtf.bt.co.uk!duplain
From: duplain@rtf.bt.co.uk (Andy Duplain)
Newsgroups: comp.unix.bsd
Subject: Re: setting the system date
Message-ID: <1993Jan14.092506.26375@rtf.bt.co.uk>
Date: 14 Jan 93 09:25:06 GMT
References: <tch.726903290@cygnus.cis.ksu.edu.cis.ksu.edu>
Organization: BT Customer Systems, Brighton, UK
Lines: 22

In article <tch.726903290@cygnus.cis.ksu.edu.cis.ksu.edu> tch@cis.ksu.edu (Thomas C Hampton ) writes:
>Howdy There again!
>
>I cannot seem to set the system date successfully.  I can run date
>without any problem, but when I shutdown -r now.  Upon reboot the date
>comes back wrong!  The date actually comes back to what it was before
>I changed it.  I have done the following:
>
>rm /etc/localtime; 
>ln -s /usr/share/zoneinfo/US/Central localtime
>date 9301122231.00
>
>...
>
>Date then reports the set time and the syslog shows the entry, but
>after shutdown and reboot the date comes back as what it was before I
>did the date set.

	That's because upon reboot 386BSD reads the time from the CMOS clock.
-- 
Andy Duplain, BT Customer Systems, Brighton, UK.           duplain@rtf.bt.co.uk
#define	DISCLAIMER      My views and opinions are my own, and not my company's