Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/hardware.py
blob: c9483919adb590fc873ff3cf54acc1f4abcc37d6 (plain)
1
2
3
4
5
6
7
8
9
10
import os
from .networking import list_interfaces, enrichIfaceTypes

def hasWifi():
	if 'WIRELESS' in enrichIfaceTypes(list_interfaces().values()).values():
		return True
	return False

def hasUEFI():
	return os.path.isdir('/sys/firmware/efi')