summaryrefslogtreecommitdiffstats
path: root/release/sysinstall/install.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1997-02-10 10:21:07 +0000
committerjkh <jkh@FreeBSD.org>1997-02-10 10:21:07 +0000
commit01f49a792d921b339047fe3dd7e7b0fc73bc7741 (patch)
treeded26a38a7fe9f5d099386769e12c3404844ef7e /release/sysinstall/install.c
parent1b73ec71ae8819f7e1bdcff245b8f57a53a2b4bd (diff)
downloadFreeBSD-src-01f49a792d921b339047fe3dd7e7b0fc73bc7741.zip
FreeBSD-src-01f49a792d921b339047fe3dd7e7b0fc73bc7741.tar.gz
Allow the user to choose UTC or local time.
Diffstat (limited to 'release/sysinstall/install.c')
-rw-r--r--release/sysinstall/install.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/release/sysinstall/install.c b/release/sysinstall/install.c
index 7c7a640..3584156 100644
--- a/release/sysinstall/install.c
+++ b/release/sysinstall/install.c
@@ -551,7 +551,12 @@ installNovice(dialogMenuItem *self)
WINDOW *w = savescr();
dialog_clear();
- systemExecute("rm -f /etc/wall_cmos_clock /etc/localtime; tzsetup");
+ if (!msgYesNo("Is this machine's CMOS clock set to local time?\n"
+ "If it is set to UTC, please select NO here"))
+ system("touch /etc/wall_cmos_clock");
+ else
+ system("rm -f /etc/wall_cmos_clock");
+ systemExecute("rm -f /etc/localtime; tzsetup");
restorescr(w);
}
@@ -570,9 +575,9 @@ installNovice(dialogMenuItem *self)
}
dialog_clear_norefresh();
- if (!msgYesNo("The FreeBSD package collection is a collection of over 700 ready-to-run\n"
- "applications, from text editors to games to WEB servers. Would you like\n"
- "to browse the collection now?"))
+ if (!msgYesNo("The FreeBSD package collection is a collection of hundreds of ready-to-run\n"
+ "applications, from text editors to games to WEB servers and more. Would you\n"
+ "like to browse the collection now?"))
configPackages(self);
dialog_clear_norefresh();
OpenPOWER on IntegriCloud