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.
This commit is contained in:
committed by
Anton Midyukov
parent
c4979e84dc
commit
6741ce4edf
@ -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
|
||||
|
Reference in New Issue
Block a user