Commit 6741ce4e authored by Ivan A. Melnikov's avatar Ivan A. Melnikov Committed by Anton Midyukov

use/net: Fix 50-net-nm configuration

NM_CONTROLLED should always be set together with DISABLED; otherwise, it's possible to reach the state where DISABLED=no but NM_CONTROLLED=yes, and have the interface controlled by both NM and etcnet.
parent c4979e84
......@@ -6,5 +6,6 @@ defcfg=/etc/net/ifaces/default/options-eth
if [ -x /usr/sbin/NetworkManager -o -x /usr/sbin/connmand ]; then
shell_config_set "$defcfg" NM_CONTROLLED yes
shell_config_set "$defcfg" DISABLED yes
shell_config_set "$defcfg" BOOTPROTO static
fi
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