From ed013e58f014cf58ec44aac7d1211f7ff842a9d3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Wed, 16 Sep 2015 17:05:22 +0300 Subject: [PATCH] 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=$? ;; -- 2.44.0