#!/bin/bash CWD=`pwd` label="$1" outfile="$2" # You should chdir into the slackware file tree if [[ ! -f boot/isofs.b ]] then echo "You should chdir into the slackware file tree" exit 1 fi if [[ "$outfile" = "" ]] then echo "Usage: $0 " exit 2 fi mkisofs -R -G boot/isofs.b -B ... -V "$label" -o $outfile .