mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-17 06:23:00 +02:00
Use vesamenu.c32 in tftpd.
This commit is contained in:
@@ -6,3 +6,4 @@ usr/sbin/tftpd
|
||||
var/tftpboot
|
||||
var/tftpboot/pxelinux.0
|
||||
var/tftpboot/pxelinux.cfg
|
||||
var/tftpboot/vesamenu.c32
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user