diff options
author | jkh <jkh@FreeBSD.org> | 1997-02-16 23:51:03 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1997-02-16 23:51:03 +0000 |
commit | 4b4bde71b9900bb382045df88664109ec0aa0fe7 (patch) | |
tree | 0bdcb2d98c66e60c40db6742fb1d04c6aea57ee0 /usr.sbin/tzsetup | |
parent | 19ad0dbdf12f6324071c4cb9e46479ccf1534a9a (diff) | |
download | FreeBSD-src-4b4bde71b9900bb382045df88664109ec0aa0fe7.zip FreeBSD-src-4b4bde71b9900bb382045df88664109ec0aa0fe7.tar.gz |
Ask about local or UTC here, like we used to.
Diffstat (limited to 'usr.sbin/tzsetup')
-rw-r--r-- | usr.sbin/tzsetup/tzsetup.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/usr.sbin/tzsetup/tzsetup.c b/usr.sbin/tzsetup/tzsetup.c index f1d7d29..6e310e8 100644 --- a/usr.sbin/tzsetup/tzsetup.c +++ b/usr.sbin/tzsetup/tzsetup.c @@ -647,8 +647,16 @@ main(int argc, char **argv) make_menus(); init_dialog(); + if (!dialog_yesno("Select local or UTC (Greenwich Mean Time) clock", + "Is this machine's CMOS clock set to UTC? If it is set to local time,\n" + "please choose NO here!", 7, 72)) + system("rm -f /etc/wall_cmos_clock"); + else + system("touch /etc/wall_cmos_clock"); + dialog_clear_norefresh(); dialog_menu("Time Zone Selector", "Select a region", -1, -1, NCONTINENTS, -NCONTINENTS, continents, 0, NULL, NULL); + dialog_clear(); end_dialog(); return 0; } |