17 lines
272 B
Plaintext
17 lines
272 B
Plaintext
#
|
|
# 30Proxy
|
|
#
|
|
{
|
|
|
|
# se abilitato
|
|
|
|
$enabled = ${'squid'}{status} || 'disabled';
|
|
|
|
if ( $enabled eq 'enabled' ) {
|
|
$OUT .= "d-i mirror/http/proxy string http://$SystemName.$DomainName:3128";
|
|
} else {
|
|
$OUT .= 'd-i mirror/http/proxy string';
|
|
}
|
|
|
|
}
|