Displaying 2 results from an estimated 2 matches for "freebsd_devd_take2".
2014 Aug 17
0
NUT + devd + FreeBSD
...rks for my MGE Ellipse and I don?t see why it wouldn?t work more generally if your script was modified.
Daniel,
Thanks for the info. (Sorry for the delay; couldn't test on a FreeBSD box last week.) I think I have it generating things in that format now:
https://github.com/clepple/nut/compare/freebsd_devd_take2
For reference, which version of FreeBSD are you using? I got this to work on 9.2 and 10.0.
--
Charles Lepple
clepple at gmail
2007 Oct 30
5
NUT + devd + FreeBSD
I made the following devd script..
sh
cd /tmp
fetch
mkdir /usr/local/etc/devd
sed -Ene 's/SYSFS\{idVendor\}==\"(.*)\", SYSFS\{idProduct\}==\"(.*)\", MODE=.*/attach 100 {\
device-name "ugen[0-9]+";\
match "vendor" "0x\1";\
match "product" "0x\2";\
action "chown @RUN_AS_GROUP@