diff options
author | ramon <ramongomez@us.es> | 2012-07-19 08:47:17 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2012-07-19 08:47:17 +0000 |
commit | b2aae057b4c645a7673eadbe8049ebf6c9a3e59a (patch) | |
tree | 0a41c1e6c3de81d3d5f7b4f0cbef48432493e66e | |
parent | d0df50b67a1392f81e6faecd27523c639e1ba845 (diff) |
VersiĆ³n 1.0.4, #531: Corregir errata en instalador al detectar interfaces de red inactivas.
git-svn-id: https://opengnsys.es/svn/trunk@3260 a21b9725-9963-47de-94b9-378ad31fedc9
-rwxr-xr-x | installer/opengnsys_installer.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/installer/opengnsys_installer.sh b/installer/opengnsys_installer.sh index e23dce52..05f6a1bf 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 |