#11796 closed enhancement (fixed)
BLFS Boot Scripts: allow bridge without INTERFACE_COMPONENTS
Reported by: | Tim Tassonis | Owned by: | Bruce Dubbs |
---|---|---|---|
Priority: | normal | Milestone: | 9.0 |
Component: | Bootscripts | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description ¶
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.
Change History (7)
comment:1 by , 6 years ago
comment:2 by , 6 years ago
No problem. However, the version I attached to the ticket has an error. Will update the attachment in a minute.
by , 6 years ago
adjusted version of blfs/services/bridge, to allow for bridges without pre-defined interfaces
comment:3 by , 6 years ago
Just fixed the script. I wrongly remembered the check for a non-empty string to be [ -s .. ], while it is in fact [ -n ...].
comment:4 by , 6 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
I can do that with a couple of tweaks. Give me a day or two.