e-smith-base/root/etc/e-smith/db/configuration/migrate/25NICBondingOptions

10 lines
318 B
Plaintext
Raw Permalink Normal View History

{
# Migrate old servers to new defaults if not customized
return unless defined $InternalInterface{NICBondingOptions};
if($InternalInterface{NICBondingOptions} eq "miimon=200")
{
$DB->get('InternalInterface')->set_prop('NICBondingOptions',
'miimon=200 mode=active-backup');
}
}