diff options
author | rwatson <rwatson@FreeBSD.org> | 2001-08-02 03:53:36 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2001-08-02 03:53:36 +0000 |
commit | 23ad69190892cdfaa65512d2f3aff0d104ebee25 (patch) | |
tree | 0ca7d1b8984314eaeb175c599991ad5ef423a8cb /usr.sbin/sade/menus.c | |
parent | 1e1af75f40ca41406710beb9b92dce84af3e8325 (diff) | |
download | FreeBSD-src-23ad69190892cdfaa65512d2f3aff0d104ebee25.zip FreeBSD-src-23ad69190892cdfaa65512d2f3aff0d104ebee25.tar.gz |
Add the ability to modify /etc/ttys before first reboot during the
system installation process. This allows users installing via serial
console to enable serial console login during the installation
process using an un-customized install. The user is not prompted to
modify /etc/ttys during a normal install, but is offered the
opportunity during post-install configuration.
- Introduce configTTYs(), which describes the benefits of editing
/etc/ttys, and asks for confirmation before spawning the editor.
- add configTTYs to the post-install configuration, as well as to
the global configuration index.
Diffstat (limited to 'usr.sbin/sade/menus.c')
-rw-r--r-- | usr.sbin/sade/menus.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.sbin/sade/menus.c b/usr.sbin/sade/menus.c index 5e3750c..089407e 100644 --- a/usr.sbin/sade/menus.c +++ b/usr.sbin/sade/menus.c @@ -270,6 +270,7 @@ DMenu MenuIndex = { { " Syscons, Screenmap", "The console screenmap configuration menu.", NULL, dmenuSubmenu, NULL, &MenuSysconsScrnmap }, { " Syscons, Ttys", "The console terminal type menu.", NULL, dmenuSubmenu, NULL, &MenuSysconsTtys }, { " Time Zone", "Set the system's time zone.", NULL, dmenuSystemCommand, NULL, "tzsetup" }, + { " TTYs", "Configure system ttys.", NULL, configTTYs, NULL, "ttys" }, { " 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 }, @@ -1248,6 +1249,8 @@ DMenu MenuConfigure = { NULL, dmenuSubmenu, NULL, &MenuSecurityProfile }, { " Startup", "Configure system startup options", NULL, dmenuSubmenu, NULL, &MenuStartup }, + { " TTYs", "Configure system ttys.", + NULL, configTTYs, NULL, "ttys" }, { " Options", "View/Set various installation options", NULL, optionsEditor }, { " XFree86", "Configure XFree86 Server", |