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

10 lines
318 B
Plaintext

{
# 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');
}
}