Re: Suggestion: usbd.conf uses rc.conf for options

2002-10-28 Thread Alan B. Clegg
Unless the network is lying to me again, Robert Withrow said: > I notice that usbd.conf has this for the mouse device: [..] I have a laptop that uses different moused_flags depending on the mouse being built-in or USB. I hate to say it, but perhaps introducing usb_mous

Re: Suggestion: usbd.conf uses rc.conf for options

2002-10-28 Thread Neil Blakey-Milner
On Mon 2002-10-28 (13:57), Peter Pentchev wrote: > This had better be ". /etc/defaults/rc.conf; source_rc_confs; ..." :) > > I have been thinking for quite some time of writing a little utility > that parses various configuration file mechanisms and allows the > administrator to specify which conf

Re: Suggestion: usbd.conf uses rc.conf for options

2002-10-28 Thread Peter Pentchev
On Mon, Oct 28, 2002 at 11:49:22AM +, Dominic Mitchell wrote: > Baldur Gislason wrote: > >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 =

Re: Suggestion: usbd.conf uses rc.conf for options

2002-10-28 Thread Dominic Mitchell
Baldur Gislason wrote: 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 /

Re: Suggestion: usbd.conf uses rc.conf for options

2002-10-27 Thread Baldur Gislason
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.${DEVN