debian/patches/0004-fix-systemd-service.patch: Fix path for upsdrvctl in scripts/systemd/nutshutdown.in

This commit is contained in:
Laurent Bigonville 2013-07-10 22:48:24 +02:00
parent fd9b4809ec
commit 154f28c325
2 changed files with 9 additions and 1 deletions

4
debian/changelog vendored
View file

@ -19,13 +19,15 @@ nut (2.6.5-3) UNRELEASED; urgency=low
* debian/patches/0004-fix-systemd-service.patch: Also add Wants/Before for
systemd-udev-settle.service in the nut-driver.service as it got renamed
after udev merge
* debian/patches/0004-fix-systemd-service.patch: Fix path for upsdrvctl in
scripts/systemd/nutshutdown.in
[ Ivo De Decker ]
* debian/nut-client.preinst: also revert /etc/nut/nut.conf mangling done
by postinst during upgrade from lenny to squeeze (Really closes: #677054)
Thanks to Andreas Beckmann for the review.
-- Laurent Bigonville <bigon@debian.org> Wed, 10 Jul 2013 22:12:22 +0200
-- Laurent Bigonville <bigon@debian.org> Wed, 10 Jul 2013 22:47:23 +0200
nut (2.6.5-2) experimental; urgency=low

View file

@ -26,3 +26,9 @@ Forwarded: not-needed
[Install]
WantedBy=multi-user.target
+Alias=nut-client.service
--- a/scripts/systemd/nutshutdown.in
+++ b/scripts/systemd/nutshutdown.in
@@ -1,2 +1,2 @@
#!/bin/sh
-@SBINDIR@/upsmon -K >/dev/null 2>&1 && @driverexecdir@/upsdrvctl shutdown
+@SBINDIR@/upsmon -K >/dev/null 2>&1 && @SBINDIR@/upsdrvctl shutdown