source:
client/shared/lib/os-probes/mounted/70hurd
@
c2bd1e9
Last change on this file since c2bd1e9 was 2cd8344, checked in by , 8 years ago | |
---|---|
|
|
File size: 247 bytes |
Rev | Line | |
---|---|---|
[2cd8344] | 1 | #!/bin/sh |
2 | set -e | |
3 | ||
4 | . /usr/share/os-prober/common.sh | |
5 | ||
6 | partition="$1" | |
7 | dir="$2" | |
8 | type="$3" | |
9 | ||
10 | if [ -d "$dir/servers" ] && [ -d "$dir/hurd" ]; then | |
11 | label="$(count_next_label Hurd)" | |
12 | result "$partition:GNU/Hurd:$label:hurd" | |
13 | exit 0 | |
14 | else | |
15 | exit 1 | |
16 | fi |
Note: See TracBrowser
for help on using the repository browser.