Don't nuke localtime and timezone files so aggressively now.
This is tzsetup's job (and only if you don't cancel out, which is why having sysinstall remove them was so bogus).
This commit is contained in:
parent
b94679130c
commit
ea9a505d0c
@ -549,7 +549,7 @@ installNovice(dialogMenuItem *self)
|
||||
WINDOW *w = savescr();
|
||||
|
||||
dialog_clear();
|
||||
systemExecute("rm -f /etc/localtime /etc/wall_cmos_clock; tzsetup");
|
||||
systemExecute("tzsetup");
|
||||
restorescr(w);
|
||||
}
|
||||
|
||||
|
@ -266,7 +266,7 @@ DMenu MenuIndex = {
|
||||
{ "Syscons, Keyrate", "The console key rate configuration menu.", NULL, dmenuSubmenu, NULL, &MenuSysconsKeyrate },
|
||||
{ "Syscons, Saver", "The console screen saver configuration menu.", NULL, dmenuSubmenu, NULL, &MenuSysconsSaver },
|
||||
{ "Syscons, Screenmap", "The console screenmap configuration menu.", NULL, dmenuSubmenu, NULL, &MenuSysconsScrnmap },
|
||||
{ "Time Zone", "Set the system's time zone.", NULL, dmenuSystemCommand, NULL, "rm -f /etc/localtime; tzsetup" },
|
||||
{ "Time Zone", "Set the system's time zone.", NULL, dmenuSystemCommand, NULL, "tzsetup" },
|
||||
{ "Upgrade", "Upgrade an existing system.", NULL, installUpgrade },
|
||||
{ "Usage", "Quick start - How to use this menu system.", NULL, dmenuDisplayFile, NULL, "usage" },
|
||||
{ "User Management", "Add user and group information.", NULL, dmenuSubmenu, NULL, &MenuUsermgmt },
|
||||
@ -1043,7 +1043,7 @@ DMenu MenuConfigure = {
|
||||
{ "2 Console", "Customize system console behavior",
|
||||
NULL, dmenuSubmenu, NULL, &MenuSyscons },
|
||||
{ "3 Time Zone", "Set which time zone you're in",
|
||||
NULL, dmenuSystemCommand, NULL, "rm -f /etc/localtime; tzsetup" },
|
||||
NULL, dmenuSystemCommand, NULL, "tzsetup" },
|
||||
{ "4 Media", "Change the installation media type",
|
||||
NULL, dmenuSubmenu, NULL, &MenuMedia },
|
||||
{ "5 Mouse", "Select the type of mouse you have",
|
||||
|
@ -549,7 +549,7 @@ installNovice(dialogMenuItem *self)
|
||||
WINDOW *w = savescr();
|
||||
|
||||
dialog_clear();
|
||||
systemExecute("rm -f /etc/localtime /etc/wall_cmos_clock; tzsetup");
|
||||
systemExecute("tzsetup");
|
||||
restorescr(w);
|
||||
}
|
||||
|
||||
|
@ -266,7 +266,7 @@ DMenu MenuIndex = {
|
||||
{ "Syscons, Keyrate", "The console key rate configuration menu.", NULL, dmenuSubmenu, NULL, &MenuSysconsKeyrate },
|
||||
{ "Syscons, Saver", "The console screen saver configuration menu.", NULL, dmenuSubmenu, NULL, &MenuSysconsSaver },
|
||||
{ "Syscons, Screenmap", "The console screenmap configuration menu.", NULL, dmenuSubmenu, NULL, &MenuSysconsScrnmap },
|
||||
{ "Time Zone", "Set the system's time zone.", NULL, dmenuSystemCommand, NULL, "rm -f /etc/localtime; tzsetup" },
|
||||
{ "Time Zone", "Set the system's time zone.", NULL, dmenuSystemCommand, NULL, "tzsetup" },
|
||||
{ "Upgrade", "Upgrade an existing system.", NULL, installUpgrade },
|
||||
{ "Usage", "Quick start - How to use this menu system.", NULL, dmenuDisplayFile, NULL, "usage" },
|
||||
{ "User Management", "Add user and group information.", NULL, dmenuSubmenu, NULL, &MenuUsermgmt },
|
||||
@ -1043,7 +1043,7 @@ DMenu MenuConfigure = {
|
||||
{ "2 Console", "Customize system console behavior",
|
||||
NULL, dmenuSubmenu, NULL, &MenuSyscons },
|
||||
{ "3 Time Zone", "Set which time zone you're in",
|
||||
NULL, dmenuSystemCommand, NULL, "rm -f /etc/localtime; tzsetup" },
|
||||
NULL, dmenuSystemCommand, NULL, "tzsetup" },
|
||||
{ "4 Media", "Change the installation media type",
|
||||
NULL, dmenuSubmenu, NULL, &MenuMedia },
|
||||
{ "5 Mouse", "Select the type of mouse you have",
|
||||
|
@ -549,7 +549,7 @@ installNovice(dialogMenuItem *self)
|
||||
WINDOW *w = savescr();
|
||||
|
||||
dialog_clear();
|
||||
systemExecute("rm -f /etc/localtime /etc/wall_cmos_clock; tzsetup");
|
||||
systemExecute("tzsetup");
|
||||
restorescr(w);
|
||||
}
|
||||
|
||||
|
@ -266,7 +266,7 @@ DMenu MenuIndex = {
|
||||
{ "Syscons, Keyrate", "The console key rate configuration menu.", NULL, dmenuSubmenu, NULL, &MenuSysconsKeyrate },
|
||||
{ "Syscons, Saver", "The console screen saver configuration menu.", NULL, dmenuSubmenu, NULL, &MenuSysconsSaver },
|
||||
{ "Syscons, Screenmap", "The console screenmap configuration menu.", NULL, dmenuSubmenu, NULL, &MenuSysconsScrnmap },
|
||||
{ "Time Zone", "Set the system's time zone.", NULL, dmenuSystemCommand, NULL, "rm -f /etc/localtime; tzsetup" },
|
||||
{ "Time Zone", "Set the system's time zone.", NULL, dmenuSystemCommand, NULL, "tzsetup" },
|
||||
{ "Upgrade", "Upgrade an existing system.", NULL, installUpgrade },
|
||||
{ "Usage", "Quick start - How to use this menu system.", NULL, dmenuDisplayFile, NULL, "usage" },
|
||||
{ "User Management", "Add user and group information.", NULL, dmenuSubmenu, NULL, &MenuUsermgmt },
|
||||
@ -1043,7 +1043,7 @@ DMenu MenuConfigure = {
|
||||
{ "2 Console", "Customize system console behavior",
|
||||
NULL, dmenuSubmenu, NULL, &MenuSyscons },
|
||||
{ "3 Time Zone", "Set which time zone you're in",
|
||||
NULL, dmenuSystemCommand, NULL, "rm -f /etc/localtime; tzsetup" },
|
||||
NULL, dmenuSystemCommand, NULL, "tzsetup" },
|
||||
{ "4 Media", "Change the installation media type",
|
||||
NULL, dmenuSubmenu, NULL, &MenuMedia },
|
||||
{ "5 Mouse", "Select the type of mouse you have",
|
||||
|
Loading…
Reference in New Issue
Block a user