diff --git a/tools/make-functions b/tools/make-functions index 854477cbb..0ef97e5e6 100644 --- a/tools/make-functions +++ b/tools/make-functions @@ -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