genliso revision 677833bc953b6cb418c701facbdcf4aa18d6c44e
#
# Generate a legacy floppy emulation ISO boot image
#
#
# the ISO image is the first argument so that a list of .zlilo images
# to include can be specified
#
case $0 in
*genliso)
;;
*genfdimg)
genfdimg=1
;;
esac
case $# in
0|1)
exit 1
;;
esac
;;
*)
exit 1
;;
esac
out=$1
shift
1)
;;
*)
;;
esac
# These default options can be changed in the genliso script
SAY Etherboot ISO boot image generated by genliso
TIMEOUT 30
EOF
for f
do
if [ ! -r $f ]
then
continue
fi
# shorten name for 8.3 filesystem
b=$(basename $f)
g=${b%.zlilo}
g=${g//[^a-z0-9]}
"")
echo DEFAULT $g
;;
esac
first=$g
echo LABEL $b
echo "" KERNEL $g
done >> $cfg
then
exit 1
fi
1)
;;
*)
;;
esac