+if [ $? != 0 ]
+then
+ if test -d $isomountdir
+ then
+ rm -rf $isomountdir
+ fi
+ err "Unable to create the following directories:
+ $datadir $imagedir $isomountdir $tmpdir"
+fi
+
+echo "-> Creating the iso image in $isoimage"
+dd of=$isoimage bs=1M count=0 seek=4440
+
+[ $? != 0 ] && err "dd failed to create $isoimage"