From 040774a6b048d76975702dc47d0fec40c192fc26 Mon Sep 17 00:00:00 2001 From: Daniele Coli Date: Sat, 22 Apr 2017 22:32:24 +0200 Subject: main/busybox: fixed logrotate script for acpid Added the check --ifstarted on postrotate script in order to not start the daemon if it is stopped. --- main/busybox/acpid.logrotate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/busybox/acpid.logrotate') diff --git a/main/busybox/acpid.logrotate b/main/busybox/acpid.logrotate index 5d12331a3d..a377635402 100644 --- a/main/busybox/acpid.logrotate +++ b/main/busybox/acpid.logrotate @@ -3,6 +3,6 @@ notifempty sharedscripts postrotate - /etc/init.d/acpid -q restart + /etc/init.d/acpid --ifstarted restart || true endscript } -- cgit v1.2.3