#!/bin/sh
+#
# Copyright (C) 2011 Google Inc.
#
ip link set $INTERFACE up
-if [ "$MODE" == "bridged" ]; then
+if [ "$MODE" = "bridged" ]; then
+ ip link set $INTERFACE mtu $(</sys/class/net/${BRIDGE}/mtu)
+
# Connect the interface to the bridge
brctl addif $BRIDGE $INTERFACE
else