918-git-images-111dconfigfileconfigure-oglivegit-imageslgromero-new-oglivemainmaint-cronmount-efivarfsmultivmmultivm-ogboot-installerogClonningEngineogboot-installer-jenkinsoglive-ipv6test-python-scriptsticket-301ticket-50ticket-50-oldticket-577ticket-585ticket-611ticket-612ticket-693ticket-700ubu24tplunification2use-local-agent-oglivevarios-instalacionwebconsole3
Rev | Line | |
---|
[2cd8344] | 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 | |
---|
| 5 | set -e |
---|
| 6 | |
---|
| 7 | . /usr/share/os-prober/common.sh |
---|
| 8 | |
---|
| 9 | partition="$1" |
---|
| 10 | dir="$2" |
---|
| 11 | type="$3" |
---|
| 12 | |
---|
| 13 | if [ -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 |
---|
| 17 | else |
---|
| 18 | exit 1 |
---|
| 19 | fi |
---|
Note: See
TracBrowser
for help on using the repository browser.