Looks like a balance between simplicity, and useful. I noted that there is nothing to call ip link set br0 up after the interface is created though, so it fails to add the gateway.
Feels like the code should be in /sbin/ifup, but it has to be called after the interface is created (after the bridge script is processed), and before ipv4-static is ran. What about making 2 variables for service scripts? one for pre device generation, (like bridge, perhaps tunnels) when br0 does not exist, and one for post device generation that handles addressing (ipv4-static, or ipv6) . We can use check link again to ensure the device is operational or not The other option, would be adding ip link set br0 up into bridge, but I would consider that a layer violation. Either way, would be nice if the scripts were made so CHECK_LINK should not need to exist on all scripts that have to create their own device (preferrably without bringing knowledge of bridges/tunnels into ifup/ifdown) -- Nathan Coulson (conathan) ------ Location: British Columbia, Canada Timezone: PST (-8) Webpage: http://www.nathancoulson.com -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
