source: client/shared/lib/os-probes/mounted/90solaris @ 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: 385 bytes
Line 
1#!/bin/sh
2# Attempt to check if solaris is installed in this system
3# looking at the /etc/system parameters file and /etc/vfstab.
4
5set -e
6
7. /usr/share/os-prober/common.sh
8
9partition="$1"
10dir="$2"
11type="$3"
12
13if [ -f "$dir/etc/system" ] && [ -f "$dir/etc/vfstab" ]; then
14        label="$(count_next_label Solaris)"
15        result "$partition:Solaris/IA32:$label:chain"
16        exit 0
17else
18        exit 1
19fi
Note: See TracBrowser for help on using the repository browser.