Use vesamenu.c32 in tftpd.

This commit is contained in:
Michael Tremer
2008-07-17 09:29:27 +00:00
parent 1596f7ff10
commit 94ca4c2875
4 changed files with 5 additions and 4 deletions

View File

@@ -6,3 +6,4 @@ usr/sbin/tftpd
var/tftpboot
var/tftpboot/pxelinux.0
var/tftpboot/pxelinux.cfg
var/tftpboot/vesamenu.c32

View File

@@ -32,7 +32,7 @@ DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = tftp-hpa
PAK_VER = 1
PAK_VER = 2
DEPS = ""
@@ -82,6 +82,6 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
cd $(DIR_APP) && make install
mv -fv /usr/sbin/in.tftpd /usr/sbin/tftpd
-mkdir -pv /var/tftpboot/pxelinux.cfg
cp -vf /usr/lib/syslinux/pxelinux.0 /var/tftpboot
cp -vf /usr/lib/syslinux/{pxelinux.0,vesamenu.c32} /var/tftpboot
@rm -rf $(DIR_APP)
@$(POSTBUILD)

View File

@@ -24,7 +24,7 @@
. /opt/pakfire/lib/functions.sh
extract_files
restore_backup ${NAME}
start_service --background ${NAME}
start_service --background tftpd
ln -svf ../init.d/tftpd /etc/rc.d/rc0.d/K00tftpd
ln -svf ../init.d/tftpd /etc/rc.d/rc3.d/S99tftpd
ln -svf ../init.d/tftpd /etc/rc.d/rc6.d/K00tftpd

View File

@@ -22,7 +22,7 @@
############################################################################
#
. /opt/pakfire/lib/functions.sh
stop_service ${NAME}
stop_service tftpd
make_backup ${NAME}
remove_files
rm -rf /etc/rc.d/rc*.d/*tftpd