diff options
author | ramon <ramongomez@us.es> | 2012-01-20 09:36:12 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2012-01-20 09:36:12 +0000 |
commit | 8f820b0d1e3f5b924247fc7198cd8a5e6e7ec804 (patch) | |
tree | 168efabe839ddeb59cf0445961014819a59b519c | |
parent | 5fbe10183d601a62d74ecf88bb1c8ba047199248 (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
-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 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 |