Package: nut
Version: 2.2.2-2

>From #334105:
> Place this in /etc/nut/rules.d/01-ups.rules or something:
> KERNEL="ttyS15", GROUP="nut"

The documentation (/usr/share/doc/nut/README.Debian.gz) lists the following:

>     b) Another solution, for system supporting udev, is to create a file
>        (for example /etc/udev/rules.d/01-ups.rules) and to add something
>        like:
>          KERNEL="ttyS1", GROUP="nut"
> 
>        where 'ttyS1' has to be replaced by the exact name of your serial port.

Which does not work.

It should be
  KERNEL=="ttyS1", GROUP="nut"
(note the double equals sign)

And the filename should be something which will get sorted after
020_permissions.rules (as this sets dialout on the tty subsystem)

I suggest 52_nut-serialups.rules as we have an existing
52_nut-usbups.rules already.

Also, I am happy to report that I was successful in setting up nut this
way, even though there were initially no files present in /etc/nut/ (the
directory itself was though) and I had to create them all from the
documentation. Perhaps some default config files with comments would be
nice; nut is disabled from starting by default anyway so this could
initially fit to a common default.

This is with nut_2.2.2-2_amd64 on Debian Lenny (up-to-date on Thu Jul 10
17:18:05 CEST 2008).



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to