close
Warning:
Failed to sync with repository "ogBrowser-Git": (1366, "Incorrect string value: '\\xF0\\x9F\\x93\\xA6 I...' for column 'message' at row 1"); repository information may be out of date. Look in the Trac log for more information including mitigation strategies.
918-git-images-111dconfigfileconfigure-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-instalacionwebconsole3
| 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.