70hurd 247 B

12345678910111213141516
  1. #!/bin/sh
  2. set -e
  3. . /usr/share/os-prober/common.sh
  4. partition="$1"
  5. dir="$2"
  6. type="$3"
  7. if [ -d "$dir/servers" ] && [ -d "$dir/hurd" ]; then
  8. label="$(count_next_label Hurd)"
  9. result "$partition:GNU/Hurd:$label:hurd"
  10. exit 0
  11. else
  12. exit 1
  13. fi