openwrt-packages/net/acme-common/files/acme.uci-defaults

5 lines
133 B
Bash

#!/bin/sh
grep -q '/usr/bin/acme' /etc/crontabs/root 2>/dev/null && exit 0
echo "0 0 * * * /usr/bin/acme get" >> /etc/crontabs/root