Merge pull request #2741 from NekoB0x/patch-5

Fix redundant log writing
This commit is contained in:
lanefu 2021-03-25 07:53:59 -04:00 committed by GitHub
commit 61453f43e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,2 +1,4 @@
#!/bin/sh
# Only run on systems where logrotate is a cron job
systemctl is-active --quiet logrotate.timer && exit 0
/usr/lib/armbian/armbian-ramlog write >/dev/null 2>&1