smeserver-base/root/etc/e-smith/templates/var/lib/dhclient/dhclient.conf/50hostname

8 lines
312 B
Plaintext

{
return unless defined $ExternalInterface;
return unless $ExternalInterface{Name} eq $THIS_DEVICE;
return unless $ExternalInterface{Configuration} eq "DHCPHostname";
$OUT .= " send host-name \"$DialupUserAccount\";\n";
$OUT .= " send dhcp-client-identifier \"$DialupUserAccount\";";
}