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 | |
---|
| 3 | . /usr/share/os-prober/common.sh |
---|
| 4 | |
---|
| 5 | partition="$1" |
---|
| 6 | mpoint="$2" |
---|
| 7 | type="$3" |
---|
| 8 | |
---|
| 9 | # Weed out stuff that doesn't apply to us |
---|
| 10 | case "$type" in |
---|
| 11 | qnx4) debug "$partition is a QNX4 partition" ;; |
---|
| 12 | *) debug "$partition is not a QNX4 partition: exiting"; exit 1 ;; |
---|
| 13 | esac |
---|
| 14 | |
---|
| 15 | if [ -e "$mpoint/.boot" ]; then |
---|
| 16 | label="$(count_next_label QNX)" |
---|
| 17 | result "$partition:QNX:$label:chain" |
---|
| 18 | exit 0 |
---|
| 19 | else |
---|
| 20 | exit 1 |
---|
| 21 | fi |
---|
Note: See
TracBrowser
for help on using the repository browser.