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

Daniel O'Connor doconnor at gsoft.com.au
Sat Sep 25 07:48:39 UTC 2010


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