[Nut-upsuser] Problem w/ Belkin UPS on FreeBSD

Bryce Edwards bryce at bryce.net
Sat Sep 25 15:06:02 UTC 2010


That did it, thanks!

The FreeBSD port runs nut as user "uucp" by default, and that is the
user I used to get it working.

::Bryce::


On Sat, Sep 25, 2010 at 2:48 AM, Daniel O'Connor <doconnor at gsoft.com.au> wrote:
>
> On 25/09/2010, at 16:36, Daniel O'Connor wrote:
>> You can do this by putting a file into /usr/local/etc/devd which looks like..
>> notify 100 {
>>       match "vendor" "0x050d";
>>       match "product" "0x0751";
>>       action "/bin/chown nutmon: /dev/$device-name";
>> }
>
> Oops I should have tested it :)
> Try this instead
> attach 100 {
>        match "vendor" "0x050d";
>        match "product" "0x0751";
>        action "/usr/sbin/chown nutmon: /dev/$device-name";
> };
>
>
>
> --
> 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
>
>
>
>
>
>
>



More information about the Nut-upsuser mailing list