mirror of
https://github.com/leitbogioro/Tools.git
synced 2024-11-16 06:05:33 +08:00
Update InstallNET.sh
This commit is contained in:
parent
c1c7966154
commit
65ff457961
1 changed files with 1 additions and 1 deletions
|
@ -923,7 +923,7 @@ if [[ "$setNet" == "0" ]]; then
|
|||
# Intercept the A and B class of the current ip address of gateway.
|
||||
tmpIpGateFirst=`echo "$minIpGate" | cut -d'.' -f 1,2`
|
||||
tmpIpGateThird=`echo "$minIpGate" | cut -d'.' -f 3`
|
||||
# If the class A and B number of the current local ip address is as same as current gateway, this gateway may a valid one.
|
||||
# If the class A and B class of the current local ip address is as same as current gateway, this gateway may a valid one.
|
||||
[[ "$FrFirst" == "$tmpIpGateFirst" ]] && {
|
||||
if [[ "$FrThird" == "$tmpIpGateThird" ]]; then
|
||||
ipGate="$FirstRoute"
|
||||
|
|
Loading…
Reference in a new issue