summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2001-12-10 22:12:23 +0000
committerjhb <jhb@FreeBSD.org>2001-12-10 22:12:23 +0000
commitdd0efc9785a26030b50b39b329d23d824a06b794 (patch)
treef98907f2d1f6b7fc4c68d4fc3c15fb808acf3d20
parente408e50776be2ef5ea5b219c2e342b40986b9538 (diff)
downloadFreeBSD-src-dd0efc9785a26030b50b39b329d23d824a06b794.zip
FreeBSD-src-dd0efc9785a26030b50b39b329d23d824a06b794.tar.gz
Fix the mouse question again to only run the mouse menu if a user doesn't
have a USB mouse. Here's the deal on how this works: USB mouse have moused run for them automatically by usbd so we don't need to setup moused for them. We do need to setup moused for other mice though, so if the user has a USB mouse, we don't need to do anything. Hence the wording "Do you have a non-USB mouse installed?" for the question. The question can be reworded as "Do you have a PS/2 or Serial mouse installed?" instead if that is preferred.
-rw-r--r--usr.sbin/sade/install.c2
-rw-r--r--usr.sbin/sysinstall/install.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sade/install.c b/usr.sbin/sade/install.c
index 27dc295..6371f80 100644
--- a/usr.sbin/sade/install.c
+++ b/usr.sbin/sade/install.c
@@ -654,7 +654,7 @@ nodisks:
#endif
dialog_clear_norefresh();
- if (msgNoYes("Does this system have a USB mouse attached to it?"))
+ if (!msgNoYes("Does this system have a non-USB mouse attached to it?"))
dmenuOpenSimple(&MenuMouse, FALSE);
/* Now would be a good time to checkpoint the configuration data */
diff --git a/usr.sbin/sysinstall/install.c b/usr.sbin/sysinstall/install.c
index 27dc295..6371f80 100644
--- a/usr.sbin/sysinstall/install.c
+++ b/usr.sbin/sysinstall/install.c
@@ -654,7 +654,7 @@ nodisks:
#endif
dialog_clear_norefresh();
- if (msgNoYes("Does this system have a USB mouse attached to it?"))
+ if (!msgNoYes("Does this system have a non-USB mouse attached to it?"))
dmenuOpenSimple(&MenuMouse, FALSE);
/* Now would be a good time to checkpoint the configuration data */
OpenPOWER on IntegriCloud