7 lines
172 B
Bash
Executable File
7 lines
172 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# 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
|