ne pas rajouter de lignes intempestives
This commit is contained in:
parent
54b40ed68a
commit
77e463f0b5
|
@ -693,7 +693,7 @@ function network_interfaces_add_confip() {
|
||||||
method=static
|
method=static
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo >>"$nifile" "
|
echo >>"$nifile" "\
|
||||||
auto $iface
|
auto $iface
|
||||||
iface $iface inet $method${mainip:+
|
iface $iface inet $method${mainip:+
|
||||||
address $mainip
|
address $mainip
|
||||||
|
@ -723,7 +723,7 @@ function network_interfaces_add_confbr() {
|
||||||
local iface confip
|
local iface confip
|
||||||
|
|
||||||
for iface in "${ifaces[@]}"; do
|
for iface in "${ifaces[@]}"; do
|
||||||
echo >>"$nifile" "
|
echo >>"$nifile" "\
|
||||||
auto $iface
|
auto $iface
|
||||||
iface $iface inet manual"
|
iface $iface inet manual"
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue