From f4fc64678d8ff2c564159100087fb32bfd35563d Mon Sep 17 00:00:00 2001 From: imp Date: Wed, 7 Jul 2010 00:03:06 +0000 Subject: Further simplification. --- usr.sbin/pc-sysinstall/backend-query/detect-laptop.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.sbin/pc-sysinstall') diff --git a/usr.sbin/pc-sysinstall/backend-query/detect-laptop.sh b/usr.sbin/pc-sysinstall/backend-query/detect-laptop.sh index 4772c2f..d23a420 100755 --- a/usr.sbin/pc-sysinstall/backend-query/detect-laptop.sh +++ b/usr.sbin/pc-sysinstall/backend-query/detect-laptop.sh @@ -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" -- cgit v1.1