diff options
author | Erich Eckner <git@eckner.net> | 2019-09-17 11:33:47 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-09-17 11:33:47 +0200 |
commit | b8be1dbddd3b6c9415a8de1750bc05fd2d94fca2 (patch) | |
tree | 5c24b858f0a1139ebce6dcea7a05c6dac81d43be | |
parent | 20f25e83dcd4e7fbf34aaf0978dd4fe34b1dee8f (diff) | |
download | shutdownasap-b8be1dbddd3b6c9415a8de1750bc05fd2d94fca2.tar.xz |
shutdownasap.conf: doalogwatch by default right before shutdown
-rwxr-xr-x | shutdownasap.conf.in | 3 |
1 files changed, 3 insertions, 0 deletions
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 } |