Radiusd-radrelayd config file naming

Peter Nixon listuser at peternixon.net
Mon Oct 2 11:07:41 CEST 2006


Hi Guys

The attached 2 line patch makes radiusd load the config file matching the name 
that it is called with making the -n option unnecessary in many cases. This 
makes things simpler and makes "startproc" and family much simpler to use 
with radiusd.

Example use:

symlink radiusd to radrelay and then run radrelay and it will autoload 
radrelay.conf

The -n command line option still overrides config file so everyone should be 
happy.

If no-one has any complaints I plan to apply this to cvs head.

Cheers

-- 

Peter Nixon
http://www.peternixon.net/
PGP Key: http://www.peternixon.net/public.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: radiusd-radrelayd_configfilename.patch
Type: text/x-patch
Size: 886 bytes
Desc: not available
URL: <http://lists.freeradius.org/pipermail/freeradius-devel/attachments/20061002/6bf34050/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.freeradius.org/pipermail/freeradius-devel/attachments/20061002/6bf34050/attachment.pgp>


More information about the Freeradius-Devel mailing list