summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2011-01-10 21:14:50 (GMT)
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-12 10:18:42 (GMT)
commit6f325a3b2ca801896cc23d9b3c1bc1f0596084cd (patch)
tree2d72e9b3ebee69d94661527257a4e06f00ea6231
parentb4c24c8ee4081fff087ca113c7d0087d4462e5aa (diff)
ifupdown: allow setting the bridge forward delay
Signed-off-by: Phil Sutter <phil@nwl.cc>
-rwxr-xr-xpackage/base-files/src/etc/network/if-pre-up.d/03-bridge1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/base-files/src/etc/network/if-pre-up.d/03-bridge b/package/base-files/src/etc/network/if-pre-up.d/03-bridge
index 41ddb2b..9bdbf83 100755
--- a/package/base-files/src/etc/network/if-pre-up.d/03-bridge
+++ b/package/base-files/src/etc/network/if-pre-up.d/03-bridge
@@ -15,6 +15,7 @@ case "$IF_BRIDGE_PORTS" in
esac
brctl addbr $IFACE || exit 1
+[[ -n $IF_BRIDGE_FD ]] && brctl setfd $IFACE $IF_BRIDGE_FD
for IF in $INTERFACES; do
if ! grep -q $IF /proc/net/dev; then