#!/bin/bash
set -e

# Match against the computer's DMI product name (case-insensitive).
# Usage: nomarchy-hw-match "XPS"

grep -qi "$1" /sys/class/dmi/id/product_name 2>/dev/null
