blob: 69a21df96f4281aea72f42f8f7b5ca04c7d6903f (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/bin/sh
: ${RADACCT_ROTATE_CONFIG:="/etc/raddb/radacct-rotate.conf"}
/bin/sh -n "$RADACCT_ROTATE_CONFIG" 2>/dev/null || exit 0
. "$RADACCT_ROTATE_CONFIG"
[ "$cron_disabled" = yes ] && exit 0
exec /usr/bin/radacct-rotate
|