gh-26: skip conf when interface is not found

pull/49/head
Javi Fontan 9 years ago
parent e037c33b4a
commit 6b01b989b6

@ -209,6 +209,7 @@ gen_network_configuration()
CONTEXT_FORCE_IPV4=$(get_iface_var "CONTEXT_FORCE_IPV4")
[ -z "${IP}${IPV6}" ] && continue
[ -z "${DEV}" ] && continue
(
cat <<EOT

@ -223,6 +223,7 @@ EOT
CONTEXT_FORCE_IPV4=$(get_iface_var "CONTEXT_FORCE_IPV4")
[ -z "${IP}${IPV6}" ] && continue
[ -z "${DEV}" ] && continue
echo "auto $DEV"

@ -178,6 +178,7 @@ gen_network_configuration()
CONTEXT_FORCE_IPV4=$(get_iface_var "CONTEXT_FORCE_IPV4")
[ -z "${IP}${IPV6}" ] && continue
[ -z "${DEV}" ] && continue
(
cat <<EOT

Loading…
Cancel
Save