aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/sysinstall/menus.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/sysinstall/menus.c')
-rw-r--r--usr.sbin/sysinstall/menus.c42
1 files changed, 34 insertions, 8 deletions
diff --git a/usr.sbin/sysinstall/menus.c b/usr.sbin/sysinstall/menus.c
index 6b4074012c2e..886f2a171dc0 100644
--- a/usr.sbin/sysinstall/menus.c
+++ b/usr.sbin/sysinstall/menus.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: menus.c,v 1.25 1995/05/23 02:41:13 jkh Exp $
+ * $Id: menus.c,v 1.26 1995/05/24 01:27:12 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -644,17 +644,43 @@ your FreeBSD system more generally usable and which may be selected\n\
from the menu below. When you're done, select Cancel.",
"Press F1 for more information on these options",
"configure.hlp",
- { { "Time Zone", "Set which time zone you're in",
- DMENU_SYSTEM_COMMAND, "tzsetup", 0, 0 },
- { "Add User", "Add users to the system",
+ { { "Add User", "Add users to the system",
DMENU_SYSTEM_COMMAND, "adduser", 0, 0 },
- { "Root Pass", "Set the system manager's password",
- DMENU_SYSTEM_COMMAND, "passwd root", 0, 0 },
+ { "Time Zone", "Set which time zone you're in",
+ DMENU_SYSTEM_COMMAND, "tzsetup", 0, 0 },
{ "Packages", "Install extra FreeBSD packaged software",
- DMENU_CALL, config_packages, 0, 1 },
+ DMENU_CALL, configPackages, 0, 1 },
{ "Ports", "Enable the FreeBSD Ports Collection from CD",
- DMENU_CALL, config_ports, 0, 1 },
+ DMENU_CALL, configPorts, 0, 1 },
+ { "Root Password", "Set the system manager's password",
+ DMENU_SYSTEM_COMMAND, "passwd root", 0, 0 },
+ { "Screen", "Customize system console behavior",
+ DMENU_SUBMENU, &MenuSyscons, 0, 0 },
+ { "Sysconfig", "Edit the system configuration file (with vi)",
+ DMENU_SYSTEM_COMMAND, "vi /etc/sysconfig", 0, 0 },
{ "XFree86", "Configure XFree86 (if installed)",
DMENU_SYSTEM_COMMAND, "PATH=/usr/bin:/bin:/usr/X11R6/bin xf86config", 0, 0 },
{ NULL } },
};
+
+DMenu MenuSyscons = {
+ DMENU_NORMAL_TYPE,
+ "System Console Configuration",
+ "The default system console driver for FreeBSD (syscons) has a\n\
+number of configuration options which may be set according to\n\
+your preference. When you are done setting configuration options,\n\
+select Cancel.",
+ NULL,
+ NULL,
+ { { "blank", "Screen-blanking saver",
+ DMENU_SET_VARIABLE, "saver=star", 0, 0 },
+ { "Green", "\"green\" power saver (if supported by monitor)",
+ DMENU_SET_VARIABLE, "saver=snake", 0, 0 },
+ { "Snake", "\"snake\" screen saver",
+ DMENU_SET_VARIABLE, "saver=snake", 0, 0 },
+ { "Star", "\"twinkling stars\" screen saver",
+ DMENU_SET_VARIABLE, "saver=star", 0, 0 },
+ { "Timeout", "Set screen saver timeout interval",
+ DMENU_CALL, configSaverTimeout, 0, 0 },
+ { NULL } },
+};