Browse Source

Initialization script stuff for moused.

OPENBSD_2_8
aaron 24 years ago
parent
commit
b9e50c176b
2 changed files with 9 additions and 2 deletions
  1. +5
    -1
      src/etc/rc
  2. +4
    -1
      src/etc/rc.conf

+ 5
- 1
src/etc/rc View File

@ -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 # System startup script run by init on autoboot
# or after single-user. # or after single-user.
@ -538,6 +538,10 @@ date
# Alternatively, on some architectures, xdm may be started in /etc/ttys. # Alternatively, on some architectures, xdm may be started in /etc/ttys.
if [ "X${xdm_flags}" != X"NO" ]; then if [ "X${xdm_flags}" != X"NO" ]; then
echo 'starting xdm...'; /usr/X11R6/bin/xdm ${xdm_flags} 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 fi
exit 0 exit 0


+ 4
- 1
src/etc/rc.conf View File

@ -1,6 +1,6 @@
#!/bin/sh - #!/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 # set these to "NO" to turn them off. otherwise, they're used as flags
routed_flags=NO # for normal use: "-q" 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 # On some architectures, you must also disable console getty in /etc/ttys
xdm_flags=NO # for normal use: "" 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 # set the following to "YES" to turn them on
rwhod=NO rwhod=NO
nfs_server=NO # see sysctl.conf for nfs client configuration nfs_server=NO # see sysctl.conf for nfs client configuration


Loading…
Cancel
Save