918-git-images-111dconfigure-oglivegit-imageslgromero-new-oglivemainmaint-cronmount-efivarfsmultivmmultivm-ogboot-installerogClonningEngineogboot-installer-jenkinsoglive-ipv6test-python-scriptsticket-301ticket-50ticket-50-oldticket-577ticket-585ticket-611ticket-612ticket-693ticket-700ubu24tplunification2use-local-agent-oglivevarios-instalacion
Rev | Line | |
---|
[2cd8344] | 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.