build/packages/bsp/common/etc/cron.daily/armbian-ram-logging

5 lines
170 B
Plaintext
Raw Normal View History

#!/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