source:
client/shared/lib/os-probes/mounted/efi/10elilo
@
1d1e06d
Last change on this file since 1d1e06d was 2cd8344, checked in by , 8 years ago | |
---|---|
|
|
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 | |
6 | efi="$1" |
7 | |
8 | found= |
9 | |
10 | elilo=`find $1 -name "elilo.efi"` |
11 | if [ -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 |
18 | fi |
19 | |
20 | if [ -n "$found" ]; then |
21 | label="$(count_next_label "$short")" |
22 | result "${path}:${long}:${label}" |
23 | fi |
24 | exit 0 |
Note: See TracBrowser
for help on using the repository browser.