diff --git a/Linux_reinstall/InstallNET.sh b/Linux_reinstall/InstallNET.sh index 3f00d4a..5aeb1fd 100644 --- a/Linux_reinstall/InstallNET.sh +++ b/Linux_reinstall/InstallNET.sh @@ -897,11 +897,11 @@ EOF checkSys # Get the name of network adapter($interface). -[[ -z "$interface" ]] && interface=`getInterface "$CurrentOSCurrentOS" "$CurrentOSVer"` +# [[ -z "$interface" ]] && interface=`getInterface "$CurrentOSCurrentOS" "$CurrentOSVer"` # Try to enable IPv4 by DHCP -timeout 5 dhclient -4 $interface +# timeout 5 dhclient -4 $interface # Try to enable IPv6 by DHCP -timeout 5 dhclient -6 $interface +# timeout 5 dhclient -6 $interface checkIpv4OrIpv6