Kleiner PXE Fix.
authorms <ms@ea5c0bd1-69bd-2848-81d8-4f18e57aeed8>
Mon, 1 Jan 2007 16:44:44 +0000 (16:44 +0000)
committerms <ms@ea5c0bd1-69bd-2848-81d8-4f18e57aeed8>
Mon, 1 Jan 2007 16:44:44 +0000 (16:44 +0000)
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@374 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8

tools/make-functions

index 854477c..0ef97e5 100644 (file)
@@ -687,9 +687,9 @@ stop_tftpd() {
 }
 
 reload_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
                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
                return 0
        fi
        return 1