Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37543706
en ru br
ALT Linux repositórios
S:2.8.0-alt2
5.0: 2.0.5-alt3.1
4.1: 2.0.5-alt3
4.0: 2.0.5-alt2
3.0: 2.0.2-alt1

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


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
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009