Commit d4170557 authored by Anton Midyukov's avatar Anton Midyukov Committed by Michael Shigorin

Revert "net: 50-net-nm band-aid"

This reverts commit 226a2395. Users are getting upset about NetworkManager being unable to configure "System EthX" connections that are meant to set up with "acc" (which isn't obvious at all). See-also: https://forum.altlinux.org/index.php?topic=42519.0
parent 89a51b7b
#!/bin/sh
. shell-config
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
if [ -x /sbin/dhcpcd -o -x /sbin/dhclient ]; then
shell_config_set "$defcfg" BOOTPROTO dhcp
fi
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