source: client/shared/lib/os-probes/mounted/80minix @ 1d1e06d

Last change on this file since 1d1e06d was 2cd8344, checked in by adv <adv@…>, 8 years ago

#796 os-probes librerias de grub con detección de nuevas versiones de sistemas opertativos (p.e win10). usado solo para ogLives antiguos (kernel 3.2)

git-svn-id: https://opengnsys.es/svn/branches/version1.1@5378 a21b9725-9963-47de-94b9-378ad31fedc9

  • Property mode set to 100755
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.