ALT Linux repositórios
Group :: Sistema/Servidores
RPM: nut
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: nut-2.8.0-alt-upssched-cmd.patch
Download
Download
From 3460174551bb496bb64347d07d87443dbe3396d4 Mon Sep 17 00:00:00 2001
From: Elizaveta Morozova <morozovaes@altlinux.org>
Date: Fri, 10 Mar 2023 16:53:29 +0300
Subject: [PATCH] nut-2.8.0-upssched-cmd
---
clients/upssched-cmd | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/clients/upssched-cmd b/clients/upssched-cmd
index 893cd4966..eef588740 100755
--- a/clients/upssched-cmd
+++ b/clients/upssched-cmd
@@ -16,7 +16,7 @@ case $1 in
echo "The UPS has been on battery for awhile" \
| mail -s"UPS monitor" bofh@pager.example.com
# Create a flag-file on the filesystem, for your own processing
- /usr/bin/touch /some/path/ups-on-battery
+ /bin/touch /some/path/ups-on-battery
;;
ups-back-on-power)
# Delete the flag-file on the filesystem
--
2.33.5