From b8be1dbddd3b6c9415a8de1750bc05fd2d94fca2 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 17 Sep 2019 11:33:47 +0200 Subject: shutdownasap.conf: doalogwatch by default right before shutdown --- shutdownasap.conf.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/shutdownasap.conf.in b/shutdownasap.conf.in index 3795467..cfd9f91 100755 --- a/shutdownasap.conf.in +++ b/shutdownasap.conf.in @@ -32,5 +32,8 @@ beforeWatchHook() { # hook to execute before shutting down beforeShutDownHook() { + if command -v doalogwatch >/dev/null; then + doalogwatch + fi true } -- cgit v1.2.3-54-g00ecf