#! /bin/sh if [ -z "$1" ]; then echo -n "Enter CD label: " read label else label="$1" shift fi if [ -z "$1" ]; then echo -n "Enter boot image filename: " read boot_img else boot_img="$1" shift fi alt_boot='' if [ "$@" ]; then for b in $@; do alt_boot="$alt_boot -eltorito-alt-boot -b $b" done fi . .config exec mk-image "$label" -c _boot -b "$boot_img" $alt_boot