BLFS Boot Scripts: allow bridge without INTERFACE_COMPONENTS
|Reported by:||Tim Tassonis||Owned by:||Bruce Dubbs|
For network bridges consisting only of virtual (openvpn, qemu) or wlan interfaces not handled at boot, it can be desirable to create a bridge without any INTERFACE_COMPONENTS.
The bridge can then still be brought up with the IP and referred to in iptables etc.
The attached version of blfs/services/bridge just issues a warning when no INTERFACE_COMPONENTS are defined and skips the bits where the components are added to and removed from the bridge. I have tested the script both for bridges with and without INTERFACE_COMPONENTS, it seems to run fine.