~iheino+ub/+junk/nut-upsconf-docfix

« back to all changes in this revision

Viewing changes to scripts/devd/README

  • Committer: Tuomas Heino
  • Author(s): Laurent Bigonville
  • Date: 2014-04-22 20:46:12 UTC
  • Revision ID: iheino+ub@cc.hut.fi-20140422204612-1x2gh3nkezfsdao4
Tags: upstream-2.7.2
ImportĀ upstreamĀ versionĀ 2.7.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
On FreeBSD, devd has a similar role to udev on Linux. The devd.conf file
 
2
defines actions to perform when devices are plugged in.  
 
3
 
 
4
The tools/nut-usbinfo.pl script generates nut-usb.conf.in by processing USB
 
5
macros in all of the drivers. In this case, the defined action for each
 
6
matching UPS is to change the permissions such that the NUT drivers can access
 
7
the devices without requiring root privileges. You may need to restart devd and
 
8
re-plug in the UPS to trigger the actions.
 
9
 
 
10
The format of this configuration file should work with devd on FreeBSD 9.0 and
 
11
9.1, at the very least.