summaryrefslogtreecommitdiffstats
path: root/installer
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2012-01-20 09:36:12 +0000
committerramon <ramongomez@us.es>2012-01-20 09:36:12 +0000
commit8f820b0d1e3f5b924247fc7198cd8a5e6e7ec804 (patch)
tree168efabe839ddeb59cf0445961014819a59b519c /installer
parent5fbe10183d601a62d74ecf88bb1c8ba047199248 (diff)
Versión 1.0.2a, #478: Detectar correctamente DHCPv3 (Ubuntu 10.04 y anteriores).
git-svn-id: https://opengnsys.es/svn/trunk@2454 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 f396457e..ce04e758 100755
--- a/installer/opengnsys_installer.sh
+++ b/installer/opengnsys_installer.sh
@@ -104,7 +104,7 @@ local DHCPVERSION
case "$OSDISTRIB" in
Ubuntu) # Postconfiguación personalizada para Ubuntu.
# Configuración para DHCP v3.
- DHCPVERSION=$(apt-cache show dhcp.?-server$ | \
+ DHCPVERSION=$(apt-cache --full search dhcp.?-server$ | \
awk '/Version/ {print substr($2,1,1);}' | \
sort -n | tail -1)
if [ $DHCPVERSION = 3 ]; then