Files
orangepi-build/external/packages/bsp/common/etc/cron.daily/orangepi-ram-logging
orangepi-xunlong 206214916c Bump to next branch
Host: Ubuntu 21.04
2022-03-07 16:26:01 +08:00

5 lines
172 B
Bash

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