net: fix setup NetworkManager controlled with etcnet (fix typo in 50-net-nm)

This commit is contained in:
Anton Midyukov 2021-12-09 23:51:52 +07:00
parent c8322e069d
commit 9fa3dbd8f0

View File

@ -4,7 +4,7 @@
defcfg=/etc/net/ifaces/default/options-eth
[ -f defcfg ] || exit 0
[ -f "$defcfg" ] || exit 0
if [ -x /usr/sbin/NetworkManager -o -x /usr/sbin/connmand ]; then
shell_config_set "$defcfg" NM_CONTROLLED yes