source: client/shared/lib/os-probes/mounted/80minix @ 38788bf

webconsole3
Last change on this file since 38788bf was 1236d17, checked in by jm.bardallo <juanmanuel.bardallo@…>, 7 years ago

añadidos nuevamente los ficheros de opengnsys del branch devel, se habían quitado por error

  • Property mode set to 100644
File size: 431 bytes
Line 
1#!/bin/sh
2set -e
3
4. /usr/share/os-prober/common.sh
5
6partition="$1"
7dir="$2"
8type="$3"
9
10# Weed out stuff that doesn't apply to us
11case "$type" in
12        minix|minix2|ext2) ;;
13        *) exit 1 ;;
14esac
15
16if [ -f "$dir/minix" ] || [ -e "$dir/boot/image_big" ]; then
17        if [ -e "$dir/boot/image_latest" ]; then
18                boot="minix"
19        else
20                boot="chain"
21        fi
22
23        label="$(count_next_label Minix)"
24        result "$partition:Minix:$label:$boot"
25        exit 0
26else
27        exit 1
28fi
Note: See TracBrowser for help on using the repository browser.