Commit 723d30f7 by Torsten Fohrer

Avoid waiting for bridge interface if disabled in sysconfig/lxc | lxc-net via USE_LXC_BRIDGE

parent 1a9eaaab
...@@ -51,6 +51,8 @@ fi ...@@ -51,6 +51,8 @@ fi
# to start # to start
wait_for_bridge() wait_for_bridge()
{ {
[ "x$USE_LXC_BRIDGE" = "xtrue" ] || { return 0; }
local BRNAME try flags br local BRNAME try flags br
[ -f "$sysconfdir"/lxc/default.conf ] || { return 0; } [ -f "$sysconfdir"/lxc/default.conf ] || { return 0; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment