diff -Nur -x '*.orig' -x '*.rej' smeserver-openvpn-bridge-2.0/root/etc/e-smith/db/configuration/migrate/50openvpn-bridge-if mezzanine_patched_smeserver-openvpn-bridge-2.0/root/etc/e-smith/db/configuration/migrate/50openvpn-bridge-if --- smeserver-openvpn-bridge-2.0/root/etc/e-smith/db/configuration/migrate/50openvpn-bridge-if 2007-09-12 11:51:35.000000000 +0200 +++ mezzanine_patched_smeserver-openvpn-bridge-2.0/root/etc/e-smith/db/configuration/migrate/50openvpn-bridge-if 1970-01-01 01:00:00.000000000 +0100 @@ -1,15 +0,0 @@ -{ - my $openvpn = $DB->get('openvpn-bridge') || $DB->new_record('openvpn-bridge', {type => 'service'}); - my $br = $openvpn->prop('brIf') || 'br0'; - my $IntIfConf = $DB->get('InternalInterface'); - my $IntIfName = $IntIfConf->prop('Name'); - # If the InternalInterface Name is the same as the bridge, there's nothing to do - return "" if ($IntIfName eq $br); - - # else, we store the old InternalInterface Name in localIf - # and we set the InternalInterface to be the bridge - - $openvpn->set_prop('localIf',$IntIfName); - $IntIfConf->set_prop('Name',$br); - -}