diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-10-20 10:51:04 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-10-20 10:51:04 +0200 |
commit | 11a26c7947fc54521e5e380518937dba7f07d8ca (patch) | |
tree | afaac68930ea588c68bb8e21b9537fd6d8264d67 /package/base-files/src/etc/network | |
parent | 794a4a75d2e2c513e55b8962ad9e8e470dd82ba8 (diff) |
try to mount secondary filesystems after modules are loaded
Diffstat (limited to 'package/base-files/src/etc/network')
-rwxr-xr-x | package/base-files/src/etc/network/if-pre-up.d/03-bridge | 4 |
1 files changed, 3 insertions, 1 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 9bdbf8302..916fafadb 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,7 +15,9 @@ case "$IF_BRIDGE_PORTS" in esac brctl addbr $IFACE || exit 1 -[[ -n $IF_BRIDGE_FD ]] && brctl setfd $IFACE $IF_BRIDGE_FD +if [ "$IF_BRIDGE_FD" != "" ]; then + brctl setfd $IFACE $IF_BRIDGE_FD +fi for IF in $INTERFACES; do if ! grep -q $IF /proc/net/dev; then |