Commit 94bf2be6 authored by David Johnson's avatar David Johnson

Change bridge existence check; was broken regexp that usually would work

parent 9274a1d1
......@@ -315,7 +315,7 @@ sub vz_rootPreConfigNetwork {
# building bridges is an important activity
if (system("brctl show | grep -q \'^$k\'")) {
if (! -d "/sys/class/net/$k/bridge") {
mysystem("$BRCTL addbr $k");
# repetitions of this should not hurt anything
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