Allow the user to choose UTC or local time.

This commit is contained in:
Jordan K. Hubbard 1997-02-10 10:21:07 +00:00
parent 0336b6019b
commit 3de899a11e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=22529
3 changed files with 27 additions and 12 deletions

View File

@ -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();

View File

@ -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();

View File

@ -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();