summaryrefslogtreecommitdiff
path: root/package/base-files/src
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2011-01-10 22:14:50 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-12 11:18:42 +0100
commit6f325a3b2ca801896cc23d9b3c1bc1f0596084cd (patch)
tree2d72e9b3ebee69d94661527257a4e06f00ea6231 /package/base-files/src
parentb4c24c8ee4081fff087ca113c7d0087d4462e5aa (diff)
ifupdown: allow setting the bridge forward delay
Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'package/base-files/src')
-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 41ddb2b58..9bdbf8302 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