File: 60-misc

package info (click to toggle)
fai 6.5.3
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 2,080 kB
  • sloc: sh: 6,721; perl: 5,625; makefile: 138
file content (9 lines) | stat: -rwxr-xr-x 159 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
#! /bin/bash

ifclass -o GRUB_PC GRUB_EFI && exit 0

if [ -d /sys/firmware/efi ]; then
    echo GRUB_EFI
elif ifclass -o I386 AMD64 ; then
    echo GRUB_PC
fi