hostname variable ?

2010-05-20 Thread Fred MAISON
Hello Freeradius-Users, Is there any way to reference hostname (in fact hostname -s) in configuration files, in order to have identical configuration files tree on both a normal and a backup freeradius 2.1.8 server ? For example, to manage differents listen addresse on normal and backup :

Re: hostname variable ?

2010-05-20 Thread Alan DeKok
Fred MAISON wrote: Is there any way to reference hostname (in fact hostname -s) in configuration files, in order to have identical configuration files tree on both a normal and a backup freeradius 2.1.8 server ? $ENV{HOSTNAME} refers to the environment variable HOSTNAME. Alan DeKok. -

Re: hostname variable ?

2010-05-20 Thread Fred MAISON
Great ! Thanks, Alan. Le jeudi 20 mai 2010 à 13:39 +0200, Alan DeKok a écrit : Fred MAISON wrote: Is there any way to reference hostname (in fact hostname -s) in configuration files, in order to have identical configuration files tree on both a normal and a backup freeradius 2.1.8 server