#673: Instalador adaptado a nuevas versiones de Syslinux, evitando mostrar error de fichero inexistente en la comprobación del funcionamiento del servicio TFTP.

git-svn-id: https://opengnsys.es/svn/branches/version1.0@4466 a21b9725-9963-47de-94b9-378ad31fedc9
remotes/github/debian-pkg
ramon 2015-01-09 09:56:45 +00:00
parent 19acd9ba2f
commit 5715a1473a
1 changed files with 2 additions and 1 deletions

View File

@ -900,7 +900,8 @@ function testPxe ()
{
echoAndLog "${FUNCNAME}(): Checking TFTP service... please wait."
pushd /tmp
tftp -v 127.0.0.1 -c get pxelinux.0 /tmp/pxelinux.0 && echoAndLog "TFTP service is OK." || errorAndLog "TFTP service is down."
tftp -v 127.0.0.1 -c get pxelinux.cfg/default /tmp/pxelinux.cfg && echoAndLog "TFTP service is OK." || errorAndLog "TFTP service is down."
rm -f /tmp/pxelinux.cfg
popd
}