source:
client/shared/lib/os-probes/mounted/10qnx
@
1d1e06d
Last change on this file since 1d1e06d was 2cd8344, checked in by , 8 years ago | |
---|---|
|
|
File size: 390 bytes |
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.