Files
nixpkgs/pkgs/by-name/nu/nut/nutshutdown-conf-default.patch

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
361 B
Diff
Raw Normal View History

2025-10-09 14:15:47 +02:00
diff --git a/scripts/systemd/nutshutdown.in b/scripts/systemd/nutshutdown.in
index ace2485b3..9dee869bb 100755
--- a/scripts/systemd/nutshutdown.in
+++ b/scripts/systemd/nutshutdown.in
@@ -1,4 +1,5 @@
#!/bin/sh
+export NUT_CONFPATH="${NUT_CONFPATH-/etc/nut}"
# This script requires both nut-server (drivers)
# and nut-client (upsmon) to be present locally