debian/patches/0004-fix-systemd-service.patch: Fix path for upsdrvctl in scripts/systemd/nutshutdown.in
This commit is contained in:
parent
fd9b4809ec
commit
154f28c325
2 changed files with 9 additions and 1 deletions
4
debian/changelog
vendored
4
debian/changelog
vendored
|
@ -19,13 +19,15 @@ nut (2.6.5-3) UNRELEASED; urgency=low
|
||||||
* debian/patches/0004-fix-systemd-service.patch: Also add Wants/Before for
|
* 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
|
systemd-udev-settle.service in the nut-driver.service as it got renamed
|
||||||
after udev merge
|
after udev merge
|
||||||
|
* debian/patches/0004-fix-systemd-service.patch: Fix path for upsdrvctl in
|
||||||
|
scripts/systemd/nutshutdown.in
|
||||||
|
|
||||||
[ Ivo De Decker ]
|
[ Ivo De Decker ]
|
||||||
* debian/nut-client.preinst: also revert /etc/nut/nut.conf mangling done
|
* debian/nut-client.preinst: also revert /etc/nut/nut.conf mangling done
|
||||||
by postinst during upgrade from lenny to squeeze (Really closes: #677054)
|
by postinst during upgrade from lenny to squeeze (Really closes: #677054)
|
||||||
Thanks to Andreas Beckmann for the review.
|
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
|
nut (2.6.5-2) experimental; urgency=low
|
||||||
|
|
||||||
|
|
|
@ -26,3 +26,9 @@ Forwarded: not-needed
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
+Alias=nut-client.service
|
+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
|
||||||
|
|
Loading…
Reference in a new issue