Skip to contentSkip to conversation

setup-tftp: Copy initramfs if available

PATCH New Jacob Stiffler 1 participant 1 message Jan 28, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 setup-tftp: Copy initramfs if available

---
 setup-tftp.sh | 3 +++
 1 file changed, 3 insertions(+)
setup-tftp.sh +3 -0
index f62ef67..90f122b 100644
@@ -162,6 +162,9 @@ copy_to_tftproot "$monfiles"
 fw_files=`cd $prebuiltimagesdir;ls -1 *firmware*.bin 2> /dev/null`
 copy_to_tftproot "$fw_files"
 
+initramfs_files=`cd $prebuiltimagesdir;ls -1 *fw-initrd*.cpio.gz 2> /dev/null`
+copy_to_tftproot "$initramfs_files"
+
 echo
 if [ -f $tftpcfg ]; then
     echo "$tftpcfg already exists.."
Signature · 1 line
1.9.1