[Nut-upsuser] USB UPS and FreeBSD

Daniel O'Connor doconnor at gsoft.com.au
Mon May 29 07:15:52 UTC 2006


On Monday 29 May 2006 16:11, Arnaud Quette wrote:
> > Actually, this is not the recommanded method ;-) It would be better to
> > add an entry in your /etc/devfs.rules (man 5 devfs.rules).
>
> @Thierry: a patch for documenting (or a script as for linux hotplug)
> is welcome ;-)
> Have a look at the script directory and the README inside.

Say, like..
kiruna# cat /usr/local/etc/devd/MGE-EXtreme.conf
attach 10 {
        match "vendor" "0x0463";
        match "product" "0xffff";
        action "chmod 664 /dev/$device-name*";
        action "chown nutmon:wheel /dev/$device-name*";
};

:)
Although this presupposes you run NUT as the nutmon user which the port 
doesn't support out of the box alas.


-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20060529/6c5d21a9/attachment-0001.pgp


More information about the Nut-upsuser mailing list