net-eth: ensure single-subsystem control

Setting NM_CONTROLLED is apparently not enough to disable
/etc/net handling of a particular interface; thanks sem@
for noticing the fortunate error messages in logs
and explaining this peculiarity to me.
This commit is contained in:
Michael Shigorin 2013-07-05 22:27:14 +04:00
parent ba857b9e34
commit 37b971f533

View File

@ -37,6 +37,7 @@ write_iface() {
echo "DISABLED=no"
echo "BOOTPROTO=$proto"
echo "NM_CONTROLLED=$NMCTL"
echo "DISABLED=$NMCTL"
echo "USE_IFPLUGD=yes"
} > "$dir/options"
}