3 # $NetBSD: moused,v 1.1 2001/10/29 23:25:01 augustss Exp $
4 # $FreeBSD: src/etc/rc.d/moused,v 1.3 2002/09/27 16:54:21 gordon Exp $
5 # $DragonFly: src/etc/rc.d/moused,v 1.4 2005/11/19 21:47:32 swildner Exp $
15 command="/usr/sbin/${name}"
16 start_cmd
="moused_start"
17 stop_cmd
="moused_stop"
20 # stdin must be redirected because it might be for a serial console
26 echo -n 'Starting moused:'
27 /usr
/sbin
/moused
${moused_flags} -p ${moused_port} -t ${moused_type}
30 case ${mousechar_start} in
34 echo -n ' mousechar_start'
35 _mousechar_arg
="-M ${mousechar_start}"
39 vidcontrol
< ${viddev} ${_mousechar_arg} -m on
46 pids
="`check_process $command`"
47 if [ -n "$pids" ]; then
53 vidcontrol
< ${viddev} -m off