SQL config file names
Hugh Messenger
hugh at alaweb.com
Fri Jul 20 00:49:42 CEST 2007
Alan DeKok said:
> Directories are cheap.
>
> sql/templates/database-thingy.conf
> sql/database/thingy.conf -> ../../templates/.....
> sql/thingy/database.conf -> ../../templates/...
Of course, that would also simplify configuration, so in radiusd.conf we can
have ...
db_dialect = mysql
... then in things like sql.conf and sqlippool.conf, instead of having stuff
like ...
################################################################
## Uncomment the appropriate config file for your SQL dialect ##
################################################################
# $INCLUDE ${confdir}/sql/mysql-ippool-dialup.conf
$INCLUDE ${confdir}/sql/postgresql-ippool-dialup.conf
... it just becomes ...
$INCLUDE ${confdir}/sql/${db_dialect}/sqlippool.conf
... no need to fart around editing the INCLUDE lines.
> Alan DeKok.
-- hugh
More information about the Freeradius-Devel
mailing list