Peter Nixon | 2 Oct 2006 11:07
Gravatar

Radiusd-radrelayd config file naming

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
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

Gmane