AlaK4X
Linux lhjmq-records 5.15.0-118-generic #128-Ubuntu SMP Fri Jul 5 09:28:59 UTC 2024 x86_64



Your IP : 18.118.28.160


Current Path : /usr/lib/os-probes/mounted/efi/
Upload File :
Current File : //usr/lib/os-probes/mounted/efi/10elilo

#!/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="${elilo%/*}"
	bdir="${elilo##*/}"
	long="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