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.
lgromero-new-oglive
| Line | |
|---|
| 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.
Download in other formats: