source: client/shared/lib/os-probes/mounted/efi/10elilo

lgromero-new-oglive
Last change on this file was 2cd8344, checked in by adv <adv@…>, 8 years ago

#796 os-probes librerias de grub con detección de nuevas versiones de sistemas opertativos (p.e win10). usado solo para ogLives antiguos (kernel 3.2)

git-svn-id: https://opengnsys.es/svn/branches/version1.1@5378 a21b9725-9963-47de-94b9-378ad31fedc9

  • Property mode set to 100755
File size: 413 bytes
Line 
1#!/bin/sh
2# Detects ELILO bootloader on a EFI System Partition
3
4. /usr/share/os-prober/common.sh
5
6efi="$1"
7
8found=
9
10elilo=`find $1 -name "elilo.efi"`
11if [ -n "$elilo" ]; then
12        bdir=`dirname $elilo`
13        bdir=`basename $bdir`
14        long="ELILO Boot Manager"
15        short="ELILO"
16        path=${bdir}/elilo.efi
17        found=true
18fi 
19
20if [ -n "$found" ]; then
21        label="$(count_next_label "$short")"
22        result "${path}:${long}:${label}"
23fi
24exit 0
Note: See TracBrowser for help on using the repository browser.