I agree, that would be a nice feature in usbd, but a workaround to gain the same
functionality would be:
attach "/usr/sbin/moused `/usr/bin/perl -e 'while(<>) { $foo = $_ . $foo; } if($foo =~
/^moused_flags="(.*?)"$/im) { print $1; }' < /etc/rc.conf` -p /dev/${DEVNAME} -I
/var/run/moused.${DEVNAME}.pid"
Baldur
On Sunday 27 October 2002 19:33, you wrote:
> Hi:
>
> I notice that usbd.conf has this for the mouse device:
>
> device "Mouse"
> devname "ums[0-9]+"
> attach "/usr/sbin/moused -p /dev/${DEVNAME} -I
> /var/run/moused.${DEVNAME}.pid"
>
> If usbd.conf could use rc.conf, this could be modified to
>
> attach "/usr/sbin/moused ${moused_flags} -p /dev/${DEVNAME} -I
> /var/run/moused.${DEVNAME}.pid"
>
> That way the user wouldn't loose his moused_flags (like accelerator
> settings).
>
> YMMV
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-hackers" in the body of the message
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message