freebsd-dev/etc/rc.d
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
..
abi Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
accounting Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
addswap Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
adjkerntz Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
altqd
amd Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
apm Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
apmd Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
archdep Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
atm1 Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
atm2 Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
atm3 Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
bgfsck Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
bootconf.sh Fix style bugs: 2002-10-12 10:31:31 +00:00
bootparams Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
ccd Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
cleanvar Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
cleartmp Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
cron Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
DAEMON Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
devd Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
devfs Move devfs earlier in the boot sequence. Some system daemons and other 2004-10-23 06:50:50 +00:00
dhclient Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
dhcpd
dhcrelay
dmesg Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
downinterfaces
dumpon When dumpdev is set to 'auto', and a suitable swap device is found, 2004-10-18 23:40:13 +00:00
early.sh Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
encswap Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
fsck Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
gated
gbde Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
gbde_swap Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
hostname Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
ifwatchd
ike Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
inetd Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
initdiskless Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
initrandom Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
ip6addrctl Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
ip6fw Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
ipfilter Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
ipfs Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
ipfw Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
ipmon Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
ipnat Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
ipsec Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
ipxrouted Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
isdnd Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
jail Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
kadmind Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
kdc
kerberos Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
keyserv Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
kldxref Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
kpasswdd Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
ldconfig Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
lkm1
lkm2
lkm3
local Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
localpkg Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
lockd Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
LOGIN Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
lomac Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
lpd Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
Makefile Give users the ability to load a mac_bsdextended(4) ruleset on boot (defaults 2004-09-29 00:12:28 +00:00
mixer Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
mixerctl
mopd
motd Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
mountall
mountcritlocal Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
mountcritremote Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
mountd Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
moused Do a better job of supporting more than one mouse device 2004-11-01 18:05:41 +00:00
mroute6d Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
mrouted Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
msgs Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
named Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
natd Automatically load the ipdivert module if it was not compiled into the kernel 2004-10-22 19:36:03 +00:00
ndbootd
netif Allow to change interfaces name on boot time. 2004-10-30 13:44:06 +00:00
netoptions Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
network - Use "/bin/hostname" explicitly instead of "hostname". 2004-04-02 12:18:40 +00:00
network_ipv6 Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
NETWORKING Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
newsyslog
nfsclient Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
nfsd Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
nfslocking Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
nfsserver Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
nisdomain Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
nsswitch Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
ntpd Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
ntpdate Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
othermta Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
pccard Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
pcvt Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
pf - Add 'check' command for checking rules syntax. 2004-10-25 08:12:28 +00:00
pflog Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
poffd
postfix
power_profile Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
ppp Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
ppp-user Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
pppoed Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
preseedrandom Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
pwcheck Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
quota Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
racoon
raidframe
ramdisk Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
ramdisk-own Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
random Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
rarpd Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
rbootd
rcconf.sh Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
resolv Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
root Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
route6d Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
routed Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
routing Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
rpcbind Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
rtadvd Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
rtsold
rwho Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
savecore - use realpath /dev/dumpdev instead of just /dev/dumpdev so messages 2004-10-24 13:04:09 +00:00
screenblank
securelevel Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
sendmail Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
serial Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
SERVERS Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
sppp Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
sshd Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
statd Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
swap1 Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
swap2
syscons Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
sysctl Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
sysdb
syslogd Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
timed Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
tmp Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
ugidfw Remove requirement on FreeBSD keyword. 2004-10-14 04:37:57 +00:00
usbd Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
var Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
vinum Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
virecover Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
watchdogd Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
wscons Fix style bugs: 2002-10-12 10:31:31 +00:00
xdm
xfs
ypbind Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
yppasswdd Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
ypserv Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
ypset Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
ypupdated Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00
ypxfrd Remove the requirement for the FreeBSD keyword as it no longer 2004-10-07 13:55:26 +00:00