Clarify udev explanation (Closes: #529664)

This commit is contained in:
Arnaud Quette 2012-01-05 17:00:59 +01:00
parent bd91941eb2
commit 0d4527e4ff
2 changed files with 7 additions and 4 deletions

1
debian/changelog vendored
View file

@ -3,6 +3,7 @@ nut (2.6.2-2) UNRELEASED; urgency=low
* debian/nut-server.{install,manpages}: add richcomm_usb * debian/nut-server.{install,manpages}: add richcomm_usb
* debian/nut-server.install, debian/rules: install Avahi service file * debian/nut-server.install, debian/rules: install Avahi service file
* debian/rules, nut-client.install: install Augeas lenses * debian/rules, nut-client.install: install Augeas lenses
* debian/nut-server.README.Debian: clarify udev explanation (Closes: #529664)
-- Arnaud Quette <aquette@debian.org> Thu, 03 Nov 2011 21:34:14 -0400 -- Arnaud Quette <aquette@debian.org> Thu, 03 Nov 2011 21:34:14 -0400

View file

@ -70,15 +70,17 @@ MODE. If you are running in "netclient" MODE, jump directly to section 6.
This is not done by default for security reason on Debian, but is applied This is not done by default for security reason on Debian, but is applied
on Ubuntu. on Ubuntu.
b) Another solution, for system supporting udev, is to create a file b) Another solution, for system supporting udev, is to create a file,
(for example /etc/udev/rules.d/92-nut-serialups.rules), placed For example /etc/udev/rules.d/92-nut-serialups.rules. It will
after 91-permissions.rules and to add something like: be used after /lib/udev/rules.d/91-permissions.rules, and
contains something like:
KERNEL=="ttyS1", GROUP="nut" KERNEL=="ttyS1", GROUP="nut"
where 'ttyS1' has to be replaced by the exact name of your serial port. where 'ttyS1' has to be replaced by the exact name of your serial port.
For USB devices, permissions are automatically set by the For USB devices, permissions are automatically set by the
52-nut-usbups.rules udev rules file. /lib/udev/rules.d/52-nut-usbups.rules udev rules file.
(4) /etc/nut/upsd.conf (see 'man 5 upsd.conf' for more information) (4) /etc/nut/upsd.conf (see 'man 5 upsd.conf' for more information)
the default /etc/nut/upsd.conf is fine for a "standalone" configuration. the default /etc/nut/upsd.conf is fine for a "standalone" configuration.