#!/bin/bash URL=http://www.hitachigst.com/hdd/support/downloads/ftool_211_install.IMG # download dft image wget ${URL} -O /var/lib/tftpboot/hitachi_ftool.img # create config for pxe boot cat <<EOF> /var/lib/tftpboot/pxelinux.cfg/hitachi_ftool.cfg LABEL linux MENU LABEL Hitachi Feature Tool kernel memdisk append initrd=hitachi_ftool.img EOF # add config to default config echo "MENU INCLUDE pxelinux.cfg/hitachi_ftool.cfg" >> /var/lib/tftpboot/pxelinux.cfg/default # LINKS # http://www.hitachigst.com/hdd/support/download.htm