* test changing radius docker * more container changes * more * fix * fix again * -d flag test * raddb -> freeradius
15 lines
285 B
Bash
Executable File
15 lines
285 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
|
|
if [ -f "/config/clients.conf" ]; then
|
|
echo "Radius config already exists, skipping config copy..."
|
|
else
|
|
echo "Radius config does not exist, copying..."
|
|
cp -Rf /etc/freeradius/* /config/
|
|
fi
|
|
|
|
chown -R freerad:freerad /config
|
|
|
|
|
|
exec freeradius -f -d /config "$@"
|