Update armbian-ram-logging

This commit is contained in:
NekoB0x 2021-03-25 11:19:35 +02:00 committed by GitHub
parent 540d7abd88
commit 8b063ca8a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,4 @@
#!/bin/sh
# Only run on systems where logrotate is a cron job
if [ -f /lib/systemd/system/logrotate.timer ]; then
exit 0
fi
systemctl is-active --quiet logrotate.timer && exit 0
/usr/lib/armbian/armbian-ramlog write >/dev/null 2>&1