summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/rc6
-rw-r--r--etc/rc.conf5
2 files changed, 9 insertions, 2 deletions
diff --git a/etc/rc b/etc/rc
index 9884394b902..e09544d8e2b 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,4 +1,4 @@
-# $OpenBSD: rc,v 1.151 2000/08/28 02:30:35 brad Exp $
+# $OpenBSD: rc,v 1.152 2000/09/01 06:56:48 aaron Exp $
# System startup script run by init on autoboot
# or after single-user.
@@ -538,6 +538,10 @@ date
# Alternatively, on some architectures, xdm may be started in /etc/ttys.
if [ "X${xdm_flags}" != X"NO" ]; then
echo 'starting xdm...'; /usr/X11R6/bin/xdm ${xdm_flags}
+else
+ if [ "X${moused_flags}" != X"NO" -a -x /usr/sbin/moused ]; then
+ echo 'starting moused...'; /usr/sbin/moused ${moused_flags}
+ fi
fi
exit 0
diff --git a/etc/rc.conf b/etc/rc.conf
index bb3e95ac8cd..3a54fc4c823 100644
--- a/etc/rc.conf
+++ b/etc/rc.conf
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: rc.conf,v 1.51 2000/07/11 22:30:56 matt Exp $
+# $OpenBSD: rc.conf,v 1.52 2000/09/01 06:56:49 aaron Exp $
# set these to "NO" to turn them off. otherwise, they're used as flags
routed_flags=NO # for normal use: "-q"
@@ -38,6 +38,9 @@ identd_flags=NO # for non-inetd use: "-b -u nobody -elo"
# On some architectures, you must also disable console getty in /etc/ttys
xdm_flags=NO # for normal use: ""
+# For enabling console mouse support (i386 architecture only)
+moused_flags=NO # see moused(8) for options
+
# set the following to "YES" to turn them on
rwhod=NO
nfs_server=NO # see sysctl.conf for nfs client configuration