[Nut-upsuser] slave only config files

Rob MacGregor rob.macgregor at gmail.com
Fri Dec 30 07:36:24 UTC 2005


On 30/12/05, Carlos Rodrigues <carlos.efr at mail.telepac.pt> wrote:
>
> I don't think so, the only way is to simply not start "upsd" and
> "upsdrvctl". On some Linux distributions one can achieve this just by
> not installing anything other than the "nut-client" package (which
> contains only "upsmon" and "upsc" and friends). On others it is a
> matter of setting some flag in some configuration file (on Debian, for
> example, is "START_UPSD=no" in "/etc/default/nut"). Don't really know
> how to do it on a FreeBSD box.

The nut startup script on FreeBSD is, as it currently exists, an all
or nothing script. You need to comment out the lines you don't want to
be called.

It shouldn't be that hard to split it into a pair of scripts, one for
the client and one for the server (and have the client enabled by the
server keyword too).  I may have a look at that over the next few days
and send a patch to the FreeBSD maintainer.

--
                 Please keep list traffic on the list.
Rob MacGregor
      Whoever fights monsters should see to it that in the process he
        doesn't become a monster.                  Friedrich Nietzsche



More information about the Nut-upsuser mailing list