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
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue