Kleiner PXE Fix.

git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@374 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
ms
2007-01-01 16:44:44 +00:00
parent a50d04ab1c
commit 15854f82e9

View File

@@ -687,9 +687,9 @@ stop_tftpd() {
}
reload_tftpd() {
if [ -e $BASEDIR/ipfire-$VERSION-pxe-$MACHINE.tgz ]; then
if [ -e $BASEDIR/ipfire-$VERSION.$MACHINE-pxe.tgz ]; then
mkdir -p $BASEDIR/tftpboot
tar xfz $BASEDIR/ipfire-$VERSION-pxe-$MACHINE.tgz -C $BASEDIR/tftpboot
tar xfz $BASEDIR/ipfire-$VERSION.$MACHINE-pxe.tgz -C $BASEDIR/tftpboot
return 0
fi
return 1