short : Patch for GMT hardware clock author : Geert Uytterhoeven, Gunther Nikl uploader : gnikl informatik uni-rostock de (Gunther Nikl) type : util/time version : 1.1 replaces : util/time/unixclock.lha architecture : m68k-amigaos Filetype : application/x-lzh-compressed Size : 10.83K Date : 14-Feb-97 Download : 💾
unixclock - make the amiga hardware clock behave like a UNIX clock © Copyright 1995 by Geert Uytterhoeven ( © Copyright 1997 by Gunther Nikl ( ----------------------------------------------------------------------------- Unixclock allows you to set your hardware clock to GMT (Greenwich Mean Time) and have the correct time under UNIX-alikes (e.g. Linux/68k, NetBSD-Amiga, etc...) and AmigaOS. It reads the local time zone from the Locale prefs and patches battclock.resource, so all hardware clock reads and writes will be converted from GMT to local time and vice versa. Drop the program into the WBStartup drawer or put the following line in your `S:User-Startup' (i.e. after IPrefs): Run <>NIL: unixclock You can remove unixclock by sending it a CTRL-C. This version doesn't care about DST (Daylight Savings Time) yet. History: 1.1: - patch (de)installation now protected with Forbid()/Permit() - pachtes rewritten in C (requires at least gcc 2.7.2) - additional code cleanup 1.0: - initial release ----------------------------------------------------------------------------- This program is subject to the terms and conditions of the GNU General Public License. See the file for more details.
Zum Live Linux: