e-smith-base/root/etc/e-smith/db/configuration/migrate/20interfaceMac

9 lines
217 B
Plaintext
Raw Permalink Normal View History

{
foreach my $iface ( qw(InternalInterface ExternalInterface) )
{
my $iface = $DB->get($iface) || next;
next unless $iface->prop('HWAddress');
$iface->delete_prop('HWAddress');
}
}