Further simplification.

This commit is contained in:
Warner Losh 2010-07-07 00:03:06 +00:00
parent e330ab14ff
commit 7ec5a4bd22
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=209753

View File

@ -25,7 +25,7 @@
#
# $FreeBSD$
if devinfo | grep 'acpi_acad0' >/dev/null 2>/dev/null; then
if devinfo | grep -q acpi_acad0; then
echo "laptop: YES"
else
echo "laptop: NO"