90solaris 385 B

12345678910111213141516171819
  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. set -e
  5. . /usr/share/os-prober/common.sh
  6. partition="$1"
  7. dir="$2"
  8. type="$3"
  9. if [ -f "$dir/etc/system" ] && [ -f "$dir/etc/vfstab" ]; then
  10. label="$(count_next_label Solaris)"
  11. result "$partition:Solaris/IA32:$label:chain"
  12. exit 0
  13. else
  14. exit 1
  15. fi