ebox setPort
public text v1 · immutablesub _setPort
{
my ($self) = @_;
# We can assume the listening port is ready available
my $generalConf = $self->model('GeneralSettings');
# Overwrite the listening port conf file
$self->writeConfFile(CONF_FILE,
"chillispot/chillispot.conf.mas",
[ authPortNumber => $generalConf->radiusauthportValue(),
acctPortNumber => $generalConf->radiusacctportValue() ],
)
}