[Bug 182150] Moused start up with moused_enable="NO" into rc.conf
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 28 Dec 2021 11:53:33 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=182150
--- Comment #2 from Oleg Ginzburg <olevole@olevole.ru> ---
The correct setting for disabling moused, mentioned in `man rc.conf`:
moused_nondefault_enable="NO"
More details:
/etc/devd.conf:
--
notify 100 {
match "system" "DEVFS";
match "subsystem" "CDEV";
match "type" "CREATE";
match "cdev" "atp[0-9]+";
action "service moused quietstart $cdev";
};
notify 100 {
match "system" "DEVFS";
match "subsystem" "CDEV";
match "type" "CREATE";
match "cdev" "ums[0-9]+";
action "service moused quietstart $cdev";
};
notify 100 {
match "system" "DEVFS";
match "subsystem" "CDEV";
match "type" "CREATE";
match "cdev" "wsp[0-9]+";
action "service moused quietstart $cdev";
};
--
/etc/rc.d/moused processing when additional args passed:
--
if [ -n "$2" ]; then
eval moused_$2_enable=\${moused_$2_enable-${moused_nondefault_enable}}
rcvar="moused_${2}_enable"
pidfile="${pidprefix}.$2.pid"
pidarg="-I $pidfile"
fi
--
This is an opportunity for multiport configurations.
Therefore, a complete disabling of the 'moused' service should be done through:
sysrc moused_enable=NO
sysrc moused_nondefault_enable=NO
or per port:
sysrc moused_ums0_enable=NO
--
You are receiving this mail because:
You are the assignee for the bug.