mkimage-profiles/features.in/net/rootfs/image-scripts.d/50-net-nm

11 lines
232 B
Plaintext
Raw Normal View History

#!/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
shell_config_set "$defcfg" BOOTPROTO static
fi