net: fix setup NetworkManager controlled with etcnet (fix typo in 50-net-nm)
This commit is contained in:
parent
c8322e069d
commit
9fa3dbd8f0
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user