mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 08:22:44 +00:00
Allow the user to choose UTC or local time.
This commit is contained in:
parent
0336b6019b
commit
3de899a11e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=22529
@ -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();
|
||||
|
@ -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();
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user