]> git.phdru.name Git - audio-cdr-video.git/blob - cdr-dvdrw-tools/mk-image-boot
Initail import
[audio-cdr-video.git] / cdr-dvdrw-tools / mk-image-boot
1 #! /bin/sh
2
3 if [ -z "$1" ]; then
4    echo -n "Enter CD label: "
5    read label
6 else
7    label="$1"
8    shift
9 fi
10
11 if [ -z "$1" ]; then
12    echo -n "Enter boot image filename: "
13    read boot_img
14 else
15    boot_img="$1"
16    shift
17 fi
18
19 alt_boot=''
20 if [ "$@" ]; then
21    for b in $@; do
22       alt_boot="$alt_boot -eltorito-alt-boot -b $b"
23    done
24 fi
25
26 . .config
27
28 exec mk-image "$label" -c _boot -b "$boot_img" $alt_boot