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:
Jordan K. Hubbard 1997-02-16 23:54:58 +00:00
parent b94679130c
commit ea9a505d0c
6 changed files with 9 additions and 9 deletions

View File

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

View File

@ -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",

View File

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

View File

@ -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",

View File

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

View File

@ -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",