smeserver-fusioninventory-a.../root/etc/e-smith/templates/etc/fusioninventory/agent.cfg/25rpc

10 lines
227 B
Plaintext

rpc-trust-localhost
rpc-port={${'fusioninventory-agent'}{'TCPPort'} || '62354'}
{
my $network = ${'fusioninventory-agent'}{'Networking'} || 'no';
my $listen = ($network) ? '127.0.0.1':'0.0.0.0';
$OUT .= "rpc-ip=$listen\n";
}