Fixed wrong sed call.
This commit is contained in:
parent
1db91d83b0
commit
2b817e2b89
|
@ -486,7 +486,7 @@ case "${LH_BINARY_IMAGES}" in
|
||||||
if [ "${LH_SYSLINUX_SPLASH}" = "none" ]
|
if [ "${LH_SYSLINUX_SPLASH}" = "none" ]
|
||||||
then
|
then
|
||||||
rm -f tftpboot/pxelinux.cfg/splash.rle
|
rm -f tftpboot/pxelinux.cfg/splash.rle
|
||||||
sed -e "s/.*splash.*//" tftpboot/pxelinux.cfg/boot.txt
|
sed -i -e "s/.*splash.*//" tftpboot/pxelinux.cfg/boot.txt
|
||||||
else
|
else
|
||||||
cp -f "${LH_SYSLINUX_SPLASH}" tftpboot/pxelinux.cfg/splash.rle
|
cp -f "${LH_SYSLINUX_SPLASH}" tftpboot/pxelinux.cfg/splash.rle
|
||||||
fi
|
fi
|
||||||
|
@ -580,7 +580,7 @@ case "${LH_BINARY_IMAGES}" in
|
||||||
if [ "${LH_SYSLINUX_SPLASH}" = "none" ]
|
if [ "${LH_SYSLINUX_SPLASH}" = "none" ]
|
||||||
then
|
then
|
||||||
rm -f "${DESTDIR}"/splash.rle
|
rm -f "${DESTDIR}"/splash.rle
|
||||||
sed -e "s/.*splash.*//" "${DESTDIR}"/boot.txt
|
sed -i -e "s/.*splash.*//" "${DESTDIR}"/boot.txt
|
||||||
else
|
else
|
||||||
cp -f "${LH_SYSLINUX_SPLASH}" "${DESTDIR}"/splash.rle
|
cp -f "${LH_SYSLINUX_SPLASH}" "${DESTDIR}"/splash.rle
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue