nut: Reorganize nut-server to clarify nut-driver
authorDaniel F. Dickinson <cshored@thecshore.com>
Mon, 27 Aug 2018 13:50:34 +0000 (09:50 -0400)
committerDaniel F. Dickinson <cshored@thecshore.com>
Wed, 29 Aug 2018 04:12:53 +0000 (00:12 -0400)
commitceff68837d4b8d5a9bd8bf1962e913b5203d95e5
treef860209ac4733b2382e2a1321bf0a4d909543067
parent5790053eba52c671465d3db6137fff265bcfb8a7
nut: Reorganize nut-server to clarify nut-driver

Clarify the different between the common nut-driver portions of
nut-server and the nut-server (upsd) proper.  nut-driver can't
be used without nut-server so there is no compelling reason
to split into a separate package, but the reorganization makes
such a move easier and makes it clear what each bit is for.

While we continue to use a single initscript, it's a properly
procdified one which handles the upsd daemon as a different
instance than the driver instances.  This resolves a race
condition in which upsd and drivers fail to start do to
a degree of interdepedence.

Also properly 'procd'ifies the nut-server initscript.

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
net/nut/Makefile
net/nut/files/nut-server.init
net/nut/files/nut_server