From 3908f1f965b8f745e8bba8a626a68724fd6a19fc Mon Sep 17 00:00:00 2001 From: Rebecca Cran Date: Wed, 22 Dec 2010 13:06:51 +0000 Subject: [PATCH] Add an option to disable the screensaver. --- usr.sbin/sysinstall/menus.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/usr.sbin/sysinstall/menus.c b/usr.sbin/sysinstall/menus.c index 2c669e8f4049..b5be462725c9 100644 --- a/usr.sbin/sysinstall/menus.c +++ b/usr.sbin/sysinstall/menus.c @@ -1958,7 +1958,7 @@ DMenu MenuSysconsKeyrate = { { "Normal", "\"Normal\" keyboard repeat rate", dmenuVarCheck, dmenuSetVariable, NULL, "keyrate=normal" }, { "Fast", "Fast keyboard repeat rate", dmenuVarCheck, dmenuSetVariable, NULL, "keyrate=fast" }, { "Default", "Use default keyboard repeat rate", dmenuVarCheck, dmenuSetVariable, NULL, "keyrate=NO" }, - { NULL } }, + { NULL } } }; DMenu MenuSysconsSaver = { @@ -1994,9 +1994,11 @@ DMenu MenuSysconsSaver = { dmenuVarCheck, configSaver, NULL, "saver=star" }, { "c Warp", "A \"stars warping\" effect", dmenuVarCheck, configSaver, NULL, "saver=warp" }, + { "d None", "Disable the screensaver", + dmenuVarCheck, configSaver, NULL, "saver=NO" }, { "Timeout", "Set the screen saver timeout interval", NULL, configSaverTimeout, NULL, NULL, ' ', ' ', ' ' }, - { NULL } }, + { NULL } } }; #ifndef PC98