9 Feb
2012
9 Feb
'12
7:13 a.m.
Attached is a small patch we use to rlm_sql_log to create (one level of) directories automatically. This is because we use sql_log { path = "${radacctdir}/%{%{NAS-IP-Address}:-0.0.0.1}/sql_%Y%m%d.acc" ... } and we don't want to have to remember to create new subdirectories whenever a new NAS comes online. Is this something which might be considered for a future version? Perhaps more generally, any module which writes files could have a flag which enables 'mkdir -p' type functionality? Regards, Brian.