File efi-10elilo of Package os-prober

#!/bin/sh
# Detects ELILO bootloader on a EFI System Partition

. /usr/share/os-prober/common.sh

efi="$1"

found=

elilo=`find $1 -name "elilo.efi"`
if [ -n "$elilo" ]; then
        bdir=`dirname $elilo`
        bdir=`basename $bdir`
        vendor=$(echo $bdir | sed 's|SuSE|SUSE|')
        long="${vendor} ELILO Boot Manager"
        short="ELILO"
        path=${bdir}/elilo.efi
        found=true
fi  

if [ -n "$found" ]; then
        label="$(count_next_label "$short")"
        result "${path}:${long}:${label}"
fi
exit 0
openSUSE Build Service is sponsored by