[packages/apcupsd] initscript: check also daemon status
glen
glen at pld-linux.org
Wed Sep 16 16:05:32 CEST 2015
commit ed013e58f014cf58ec44aac7d1211f7ff842a9d3
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed Sep 16 17:05:22 2015 +0300
initscript: check also daemon status
apcupsd.init | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/apcupsd.init b/apcupsd.init
index 5fb4de0..6efa95c 100755
--- a/apcupsd.init
+++ b/apcupsd.init
@@ -97,6 +97,7 @@ case "$1" in
powerdown
;;
status)
+ status apcupsd
/usr/sbin/apcaccess status
RETVAL=$?
;;
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/apcupsd.git/commitdiff/ed013e58f014cf58ec44aac7d1211f7ff842a9d3
More information about the pld-cvs-commit
mailing list