smeserver-base/root/etc/e-smith/db/configuration/migrate/25NICBondingUpdate

9 lines
278 B
Plaintext

{
# Remove NICBonding property unless conditions are met
return unless defined $InternalInterface{NICBonding};
return if($SystemMode eq "serveronly" and
$EthernetDriver1 eq $EthernetDriver2);
$DB->get('InternalInterface')->delete_prop('NICBonding');
}