MFC rev 1.10:

Correctly set moused_$2_enable when moused_nondefault_enable is set to NO

PR:	conf/92654
This commit is contained in:
matteo 2006-05-29 14:43:05 +00:00
parent 809bf26fec
commit 331043a5ff

View File

@ -23,8 +23,7 @@ load_rc_config $name
# expected to be the mouse device.
#
if [ -n "$2" ]; then
checkyesno moused_nondefault_enable &&
eval moused_$2_enable=\${moused_$2_enable-YES}
eval moused_$2_enable=\${moused_$2_enable-${moused_nondefault_enable}}
rcvar=`set_rcvar moused_$2`
pidfile="${_pidprefix}.$2.pid"
_pidarg="-I $pidfile"