for isofile in $isopath/slitaz*.iso; do
  if [ -e "$isofile" ]; then
    regexp --set=isoname "$isopath/(.*)" "$isofile"
    menuentry "$isoname (memdisk)" "$isofile" {
      iso_path="$2"
      bootoptions="iso raw"
      linux16 $prefix/memdisk $bootoptions
      initrd16 $iso_path
    }
  fi
done
