mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
Kleiner PXE Fix.
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@374 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user