freebsd-nq/etc
Mike Makonnen 86bade2751 Do a better job of supporting more than one mouse device
on the system.

To start/stop/check on a specific device give the device name as
the second argument to the script:
	# /etc/rc.d/moused start ums0

To use different rc.conf(5) knobs with different mice use the device
name as part of the knob. For example, if the mouse device is ums0, then:
	moused_ums0_enable=yes
	moused_ums0_flags="-z 4"
	moused_ums0_port="/dev/ums0"

Starting rc.d/moused without the device argument will use the standard
moused_* flags. So, this commit should not disrupt or change current usage.

To preserve current behaviour with respect to usb mice, which appear
automatically when inserted, there is a new knob, moused_nondefault_enable,
which will treat any devices without rc.conf knobs as enabled.

To minimize knobs in /etc/rc.conf, the device file and pid file are
auto-computed, so that in the typical case for a usb mouse you don't
need to add anything extra in /etc/rc.conf to get it working.

Additionally, this updates /etc/usbd.conf to use the rc.d/moused script so
people don't have to modify it to configure their usb mouse anymore.

MFC after: 1 month
2004-11-01 18:05:41 +00:00
..
bluetooth Removed whitespace at BOF, EOL & EOF. 2004-06-06 11:46:29 +00:00
defaults Do a better job of supporting more than one mouse device 2004-11-01 18:05:41 +00:00
etc.alpha Add dumb console driver and related bits. 2003-10-24 15:44:10 +00:00
etc.amd64 Add dumb console driver and related bits. 2003-10-24 15:44:10 +00:00
etc.arm Add ttyu0 as a serial console, as we're using the uart(4) driver on arm. 2004-09-24 12:51:15 +00:00
etc.i386 Add dumb console driver and related bits. 2003-10-24 15:44:10 +00:00
etc.ia64 turn off getty(8) on ttyv[0-7]. We don't support syscons on ia64 and 2004-10-17 22:20:39 +00:00
etc.powerpc PowerPC ttys file. 2004-02-04 01:44:34 +00:00
etc.sparc64 With the fixes to getty handling of non-existent devices a default 2004-10-04 03:39:52 +00:00
isdn Removed whitespace at BOF, EOL & EOF. 2004-06-06 11:46:29 +00:00
mail Add user _pflogd. 2004-06-30 16:47:08 +00:00
mtree For variables that are only checked with defined(), don't provide 2004-10-24 15:33:08 +00:00
namedb For variables that are only checked with defined(), don't provide 2004-10-24 15:33:08 +00:00
pam.d For variables that are only checked with defined(), don't provide 2004-10-24 15:33:08 +00:00
periodic Add a knob 'daily_status_security_diff_flags' controlling the 2004-09-23 02:00:52 +00:00
ppp
rc.d Do a better job of supporting more than one mouse device 2004-11-01 18:05:41 +00:00
root - Use absolute path for hostname(1) 2004-04-01 19:28:00 +00:00
sendmail Catch up with etc/Makefile,v 1.324 -- split "install" and "distribution" 2004-01-22 17:51:02 +00:00
amd.map
apmd.conf Use separate events for resume from standby and suspend in the apm(4) 2003-12-30 17:40:28 +00:00
auth.conf auth.conf seems to be being gradually subsumed by user classes 2003-07-28 02:28:51 +00:00
crontab
csh.cshrc
csh.login Removed whitespace at BOF, EOL & EOF. 2004-06-06 11:46:29 +00:00
csh.logout
devd.conf Add device driver support for the VIA Networking Technologies 2004-09-10 20:57:46 +00:00
devfs.conf Removed whitespace at BOF, EOL & EOF. 2004-06-06 11:46:29 +00:00
dhclient.conf
disktab Removed whitespace at BOF, EOL & EOF. 2004-06-06 11:46:29 +00:00
fbtab
ftpusers Add user _pflogd. 2004-06-30 16:47:08 +00:00
gettytab Removed whitespace at BOF, EOL & EOF. 2004-06-06 11:46:29 +00:00
group Add "privsep" user/group _pflogd:_pflogd (64:64) to make pflogd(8) work 2004-06-23 01:32:28 +00:00
hosts
hosts.allow Use RFC 3849 address for examples. 2004-08-03 08:58:34 +00:00
hosts.equiv
hosts.lpd
inetd.conf Removed whitespace at BOF, EOL & EOF. 2004-06-06 11:46:29 +00:00
login.access Removed whitespace at BOF, EOL & EOF. 2004-06-06 11:46:29 +00:00
login.conf Removed whitespace at BOF, EOL & EOF. 2004-06-06 11:46:29 +00:00
mac.conf Add "socket" type to the list of default object types, and by 2003-11-15 02:08:01 +00:00
Makefile 1. Incorporate most of Ruslan's improvements to where and how the 2004-10-08 00:14:28 +00:00
man.alias
master.passwd UUCP's uucico(8) has not been in the base system for some time now, 2004-08-01 21:33:47 +00:00
minfree
motd s/man page/manual page/, to make the default announcement 2003-07-03 06:06:09 +00:00
netconfig
netstart Run /etc/rc.d/routing at the appropriate time. 2004-02-10 19:10:34 +00:00
network.subr Allow to change interfaces name on boot time. 2004-10-30 13:44:06 +00:00
networks
newsyslog.conf Style: 2004-04-03 17:52:29 +00:00
nls.alias Old-promised removing of deprecated locale names 2003-06-10 01:22:30 +00:00
nsmb.conf
opieaccess
pccard_ether Removed whitespace at BOF, EOL & EOF. 2004-06-06 11:46:29 +00:00
pf.conf Bring in some examples (and create space for future work here): 2004-09-14 01:07:19 +00:00
pf.os Update the passive OS fingerprint database from OpenBSD. 2004-09-14 00:30:14 +00:00
phones
printcap Removed whitespace at BOF, EOL & EOF. 2004-06-06 11:46:29 +00:00
profile Removed whitespace at BOF, EOL & EOF. 2004-06-06 11:46:29 +00:00
protocols Link pf to the build and install: 2004-03-08 22:03:29 +00:00
rc Remove an unused variable. 2004-10-08 14:23:49 +00:00
rc.bsdextended Give users the ability to load a mac_bsdextended(4) ruleset on boot (defaults 2004-09-29 00:12:28 +00:00
rc.firewall DNS should not necessarily be named(8), tweak the comment a bit. 2003-11-02 07:31:44 +00:00
rc.firewall6 Use RFC 3849 address for examples. 2004-08-03 08:58:34 +00:00
rc.initdiskless Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
rc.resume Fix a usage message. 2003-12-30 17:30:39 +00:00
rc.sendmail Before trying to restart/stop the MTA or MSP queue runner, make sure 2003-10-19 00:31:50 +00:00
rc.shutdown Fix a bogus variable assignment. You can't expect 2004-10-17 13:39:42 +00:00
rc.subr Finish cleanup of rc.d/netif. It's now possible to start/stop more 2004-07-30 17:19:35 +00:00
rc.suspend Make sure pid file creation doesn't complain if it can't create the file. 2004-01-21 03:03:40 +00:00
remote Reflect sio driver device name change cuaa -> cuad 2004-10-13 08:32:34 +00:00
rpc Removed whitespace at BOF, EOL & EOF. 2004-06-06 11:46:29 +00:00
services Add 3653/tcp and 3653/udp, since they were specifically requested. 2004-08-16 11:52:22 +00:00
shells
sysctl.conf
syslog.conf
termcap.small Removed whitespace at BOF, EOL & EOF. 2004-06-06 11:46:29 +00:00
usbd.conf Do a better job of supporting more than one mouse device 2004-11-01 18:05:41 +00:00