TT#36203 Add check of dhclient for DHCP using

Check dhclient process as well as boot parameter to decide if
dhcp should be used for external interface.

Change-Id: I5f92cca5a513edcacb99318b7b59d33c1fd55ef5
changes/31/21031/2
Mykola Malkov 7 years ago
parent 72ed005c41
commit ae4e88fca7

@ -469,7 +469,7 @@ if checkBootParam nongcp ; then
fi
# configure static network in installed system?
if checkBootParam ngcpnw.dhcp ; then
if checkBootParam ngcpnw.dhcp || pgrep dhclient &>/dev/null ; then
DHCP=true
fi

Loading…
Cancel
Save