summaryrefslogtreecommitdiffstats
path: root/installer
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2012-07-19 08:47:17 +0000
committerramon <ramongomez@us.es>2012-07-19 08:47:17 +0000
commitce85ae8317f469d58dab0ee6f927c57d1a42aeac (patch)
tree01f0122d780b6a2e35b0e69ae886c901af0a5a23 /installer
parentbad3806158821c5f16982a573dd6a457598b1770 (diff)
VersiĆ³n 1.0.4, #531: Corregir errata en instalador al detectar interfaces de red inactivas.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@3260 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'installer')
-rwxr-xr-xinstaller/opengnsys_installer.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/installer/opengnsys_installer.sh b/installer/opengnsys_installer.sh
index 8d7e7518..3afbcee9 100755
--- a/installer/opengnsys_installer.sh
+++ b/installer/opengnsys_installer.sh
@@ -686,8 +686,8 @@ function getNetworkSettings()
NETIP[i]=$(netstat -nr | awk -v d="$dev" '$1!~/0\.0\.0\.0/&&$8==d {if (n=="") n=$1} END {print n}')
ROUTERIP[i]=$(netstat -nr | awk -v d="$dev" '$1~/0\.0\.0\.0/&&$8==d {print $2}')
DEFAULTDEV=${DEFAULTDEV:-"$dev"}
- let i++
fi
+ let i++
done
DNSIP=$(awk '/nameserver/ {print $2}' /etc/resolv.conf | head -n1)
if [ -z "${NETIP}[*]" -o -z "${NETMASK[*]}" ]; then