nut/scripts/devd
2014-04-22 20:39:47 +02:00
..
Makefile.am Imported Upstream version 2.7.2 2014-04-22 20:39:47 +02:00
Makefile.in Imported Upstream version 2.7.2 2014-04-22 20:39:47 +02:00
nut-usb.conf.in Imported Upstream version 2.7.2 2014-04-22 20:39:47 +02:00
README Imported Upstream version 2.7.2 2014-04-22 20:39:47 +02:00

On FreeBSD, devd has a similar role to udev on Linux. The devd.conf file
defines actions to perform when devices are plugged in.  

The tools/nut-usbinfo.pl script generates nut-usb.conf.in by processing USB
macros in all of the drivers. In this case, the defined action for each
matching UPS is to change the permissions such that the NUT drivers can access
the devices without requiring root privileges. You may need to restart devd and
re-plug in the UPS to trigger the actions.

The format of this configuration file should work with devd on FreeBSD 9.0 and
9.1, at the very least.