~vcs-imports/nut:systemdsystemshutdowndir

Last commit made on 2017-04-21
Get this branch:
git clone -b systemdsystemshutdowndir https://git.launchpad.net/~vcs-imports/nut

Branch merges

Branch information

Name:
systemdsystemshutdowndir
Repository:
lp:~vcs-imports/nut

Recent commits

a968fe1... by Jim Klimov <email address hidden>

Support --with-systemdsystemshutdowndir=DIR as a separate configure option. Detect presence of systemd, so --with-systemd*=auto is in effect by default

7caa161... by Stanislav Brabec <email address hidden>

Detect correct systemdsystemshutdowndir

nut hardcodes systemdsystemshutdowndir to
${libdir}/systemd/system-shutdown. This is not valid:
- Executable helpers are installed to ${libexecdir}, which is different
  from ${libdir} on bi-arch systems.
- Even if nut will use ${libexecdir}, it could be different from
  systemd libexecdir.

That is why it is better to check systemd.pc for the correct path.
That path is stored as systemdutildir. In older systemd versions,
systemdutildir does not exist yet, and we need to use
systemdsystemunitdir can be used.

Signed-off-by: Stanislav Brabec <email address hidden>

30e0468... by Arnaud Quette

Merge branch 'upssched-doc'

da2f8de... by Arnaud Quette

Add support for Eaton 9PX Split Phase 6/8/10 kVA

Using netxml-ups, usbhid-ups and mge-shut

Signed-off-by: Arnaud Quette <email address hidden>

d843484... by Arnaud Quette

netxml-ups: bump driver version

In order to reflect update for 2phases, bump driver version

Signed-off-by: Arnaud Quette <email address hidden>

c39face... by Arnaud Quette

dstate_detect_phasecount: update for 2phases

Update the code to be able to handle 2phases devices, also known as
"split phases"

Signed-off-by: Arnaud Quette <email address hidden>

027be5e... by Arnaud Quette

oldmge-shut: final deprecation and removal

oldmge-shut is not anymore part of the distribution, and is replaced by mge-shut

Signed-off-by: Arnaud Quette <email address hidden>

4f14927... by Arnaud Quette <email address hidden>

Cppcheck improvements (#405)

Fix all Cppcheck errors, using standard c89:
* Uninitialized variables,
* Memory leak,
* Brackets balancing,
* Common realloc mistake,
* Possible null pointer dereference,
* Array index out of bounds,
* Not null-terminated string

3c9df13... by Nash Kaminski

liebert-esp2 changes: Correct battery V scaling, update docs, implement split-phase unit support (#412)

* Update liebert-esp2 documentation, include note that port on GXT2 series does not fully follow RS-232 specs.

* Refactor output format of liebert-esp2 driver to follow that of other drivers to fix the nut-cgi interface as well as for overall consistency. Implement support for 2 phase i.e. split phase input Liebert GXT2 series units. Correct battery voltage scaling for GXT2 series units as well.

* Update nut.dict

* Update nut.dict

b443b70... by Jim Klimov

Merge pull request #413 from jimklimov/travis-shuffle

Problem: NUT tests in Travis CI often wait for default-withdoc