In preparation for MFC of sysinstall changes to edit /etc/ttys in
post-install config, reduce the potential confusion from the existence of both configTTYs and configTtys by renaming configTTYs to configEtcTtys. While this is not a C naming conflict, it was probably a poor choice of names on my part.
This commit is contained in:
parent
d0097656de
commit
f3ea28cb07
@ -1031,7 +1031,7 @@ configNFSServer(dialogMenuItem *self)
|
|||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
configTTYs(dialogMenuItem *self)
|
configEtcTtys(dialogMenuItem *self)
|
||||||
{
|
{
|
||||||
char cmd[256];
|
char cmd[256];
|
||||||
|
|
||||||
|
@ -270,7 +270,7 @@ DMenu MenuIndex = {
|
|||||||
{ " Syscons, Screenmap", "The console screenmap configuration menu.", NULL, dmenuSubmenu, NULL, &MenuSysconsScrnmap },
|
{ " Syscons, Screenmap", "The console screenmap configuration menu.", NULL, dmenuSubmenu, NULL, &MenuSysconsScrnmap },
|
||||||
{ " Syscons, Ttys", "The console terminal type menu.", NULL, dmenuSubmenu, NULL, &MenuSysconsTtys },
|
{ " Syscons, Ttys", "The console terminal type menu.", NULL, dmenuSubmenu, NULL, &MenuSysconsTtys },
|
||||||
{ " Time Zone", "Set the system's time zone.", NULL, dmenuSystemCommand, NULL, "tzsetup" },
|
{ " Time Zone", "Set the system's time zone.", NULL, dmenuSystemCommand, NULL, "tzsetup" },
|
||||||
{ " TTYs", "Configure system ttys.", NULL, configTTYs, NULL, "ttys" },
|
{ " TTYs", "Configure system ttys.", NULL, configEtcTtys, NULL, "ttys" },
|
||||||
{ " Upgrade", "Upgrade an existing system.", NULL, installUpgrade },
|
{ " Upgrade", "Upgrade an existing system.", NULL, installUpgrade },
|
||||||
{ " Usage", "Quick start - How to use this menu system.", NULL, dmenuDisplayFile, NULL, "usage" },
|
{ " Usage", "Quick start - How to use this menu system.", NULL, dmenuDisplayFile, NULL, "usage" },
|
||||||
{ " User Management", "Add user and group information.", NULL, dmenuSubmenu, NULL, &MenuUsermgmt },
|
{ " User Management", "Add user and group information.", NULL, dmenuSubmenu, NULL, &MenuUsermgmt },
|
||||||
@ -1250,7 +1250,7 @@ DMenu MenuConfigure = {
|
|||||||
{ " Startup", "Configure system startup options",
|
{ " Startup", "Configure system startup options",
|
||||||
NULL, dmenuSubmenu, NULL, &MenuStartup },
|
NULL, dmenuSubmenu, NULL, &MenuStartup },
|
||||||
{ " TTYs", "Configure system ttys.",
|
{ " TTYs", "Configure system ttys.",
|
||||||
NULL, configTTYs, NULL, "ttys" },
|
NULL, configEtcTtys, NULL, "ttys" },
|
||||||
{ " Options", "View/Set various installation options",
|
{ " Options", "View/Set various installation options",
|
||||||
NULL, optionsEditor },
|
NULL, optionsEditor },
|
||||||
{ " XFree86", "Configure XFree86 Server",
|
{ " XFree86", "Configure XFree86 Server",
|
||||||
|
@ -455,7 +455,7 @@ extern int configSecurityFascist(dialogMenuItem *self);
|
|||||||
extern int configSecurityHigh(dialogMenuItem *self);
|
extern int configSecurityHigh(dialogMenuItem *self);
|
||||||
extern int configSecurityModerate(dialogMenuItem *self);
|
extern int configSecurityModerate(dialogMenuItem *self);
|
||||||
extern int configSecurityLiberal(dialogMenuItem *self);
|
extern int configSecurityLiberal(dialogMenuItem *self);
|
||||||
extern int configTTYs(dialogMenuItem *self);
|
extern int configEtcTtys(dialogMenuItem *self);
|
||||||
|
|
||||||
/* crc.c */
|
/* crc.c */
|
||||||
extern int crc(int, unsigned long *, unsigned long *);
|
extern int crc(int, unsigned long *, unsigned long *);
|
||||||
|
@ -1031,7 +1031,7 @@ configNFSServer(dialogMenuItem *self)
|
|||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
configTTYs(dialogMenuItem *self)
|
configEtcTtys(dialogMenuItem *self)
|
||||||
{
|
{
|
||||||
char cmd[256];
|
char cmd[256];
|
||||||
|
|
||||||
|
@ -270,7 +270,7 @@ DMenu MenuIndex = {
|
|||||||
{ " Syscons, Screenmap", "The console screenmap configuration menu.", NULL, dmenuSubmenu, NULL, &MenuSysconsScrnmap },
|
{ " Syscons, Screenmap", "The console screenmap configuration menu.", NULL, dmenuSubmenu, NULL, &MenuSysconsScrnmap },
|
||||||
{ " Syscons, Ttys", "The console terminal type menu.", NULL, dmenuSubmenu, NULL, &MenuSysconsTtys },
|
{ " Syscons, Ttys", "The console terminal type menu.", NULL, dmenuSubmenu, NULL, &MenuSysconsTtys },
|
||||||
{ " Time Zone", "Set the system's time zone.", NULL, dmenuSystemCommand, NULL, "tzsetup" },
|
{ " Time Zone", "Set the system's time zone.", NULL, dmenuSystemCommand, NULL, "tzsetup" },
|
||||||
{ " TTYs", "Configure system ttys.", NULL, configTTYs, NULL, "ttys" },
|
{ " TTYs", "Configure system ttys.", NULL, configEtcTtys, NULL, "ttys" },
|
||||||
{ " Upgrade", "Upgrade an existing system.", NULL, installUpgrade },
|
{ " Upgrade", "Upgrade an existing system.", NULL, installUpgrade },
|
||||||
{ " Usage", "Quick start - How to use this menu system.", NULL, dmenuDisplayFile, NULL, "usage" },
|
{ " Usage", "Quick start - How to use this menu system.", NULL, dmenuDisplayFile, NULL, "usage" },
|
||||||
{ " User Management", "Add user and group information.", NULL, dmenuSubmenu, NULL, &MenuUsermgmt },
|
{ " User Management", "Add user and group information.", NULL, dmenuSubmenu, NULL, &MenuUsermgmt },
|
||||||
@ -1250,7 +1250,7 @@ DMenu MenuConfigure = {
|
|||||||
{ " Startup", "Configure system startup options",
|
{ " Startup", "Configure system startup options",
|
||||||
NULL, dmenuSubmenu, NULL, &MenuStartup },
|
NULL, dmenuSubmenu, NULL, &MenuStartup },
|
||||||
{ " TTYs", "Configure system ttys.",
|
{ " TTYs", "Configure system ttys.",
|
||||||
NULL, configTTYs, NULL, "ttys" },
|
NULL, configEtcTtys, NULL, "ttys" },
|
||||||
{ " Options", "View/Set various installation options",
|
{ " Options", "View/Set various installation options",
|
||||||
NULL, optionsEditor },
|
NULL, optionsEditor },
|
||||||
{ " XFree86", "Configure XFree86 Server",
|
{ " XFree86", "Configure XFree86 Server",
|
||||||
|
@ -455,7 +455,7 @@ extern int configSecurityFascist(dialogMenuItem *self);
|
|||||||
extern int configSecurityHigh(dialogMenuItem *self);
|
extern int configSecurityHigh(dialogMenuItem *self);
|
||||||
extern int configSecurityModerate(dialogMenuItem *self);
|
extern int configSecurityModerate(dialogMenuItem *self);
|
||||||
extern int configSecurityLiberal(dialogMenuItem *self);
|
extern int configSecurityLiberal(dialogMenuItem *self);
|
||||||
extern int configTTYs(dialogMenuItem *self);
|
extern int configEtcTtys(dialogMenuItem *self);
|
||||||
|
|
||||||
/* crc.c */
|
/* crc.c */
|
||||||
extern int crc(int, unsigned long *, unsigned long *);
|
extern int crc(int, unsigned long *, unsigned long *);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user