mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-19 05:36:38 +02:00
10 lines
226 B
Bash
10 lines
226 B
Bash
#!/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
|