diff options
Diffstat (limited to 'share/examples/worm/makecdfs.sh')
-rwxr-xr-x | share/examples/worm/makecdfs.sh | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/share/examples/worm/makecdfs.sh b/share/examples/worm/makecdfs.sh index 0071a60..b4e3d74 100755 --- a/share/examples/worm/makecdfs.sh +++ b/share/examples/worm/makecdfs.sh @@ -7,6 +7,13 @@ # makecdfs FreeBSD-2.1.5 /a/cdrom-dist /a/cdimage.cd0 "Walnut Creek CDROM \ # 1-510-674-0783 FAX 1-510-674-0821" +if [ "$1" = "-b" ]; then + bootable="-b floppies/boot.flp -c floppies/boot.catalog" + shift +else + bootable="" +fi + if [ $# -lt 4 ]; then echo "usage: $0 \"cd-title\" input-tree output-file \"copyright\"" elif [ ! -d $2 ]; then @@ -16,5 +23,6 @@ else tree=$1; shift outfile=$1; shift copyright="$*" - mkisofs -a -d -N -D -R -T -V "$title" -P "$copyright" -o $outfile $tree + mkisofs.new $bootable -a -d -N -D -R -T -V "$title" -P "$copyright" -o $outfile $tree +# mkisofs -a -d -N -D -R -T -V "$title" -P "$copyright" -o $outfile $tree fi |