initial commit of file from CVS for e-smith-base on Thu 26 Oct 11:24:52 BST 2023
This commit is contained in:
8
root/etc/e-smith/db/configuration/migrate/20interfaceMac
Normal file
8
root/etc/e-smith/db/configuration/migrate/20interfaceMac
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
foreach my $iface ( qw(InternalInterface ExternalInterface) )
|
||||
{
|
||||
my $iface = $DB->get($iface) || next;
|
||||
next unless $iface->prop('HWAddress');
|
||||
$iface->delete_prop('HWAddress');
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user