#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-378ad31fedc9remotes/github/debian-pkg
parent
19acd9ba2f
commit
5715a1473a
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue