diff options
author | imp <imp@FreeBSD.org> | 2010-07-07 00:03:06 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2010-07-07 00:03:06 +0000 |
commit | f4fc64678d8ff2c564159100087fb32bfd35563d (patch) | |
tree | 3c60ca50de4c2f2108ee5d8773500e461397a1e4 | |
parent | b6d8d9f4089f83ac6d643ccac00ab57fced9c90b (diff) | |
download | FreeBSD-src-f4fc64678d8ff2c564159100087fb32bfd35563d.zip FreeBSD-src-f4fc64678d8ff2c564159100087fb32bfd35563d.tar.gz |
Further simplification.
-rwxr-xr-x | usr.sbin/pc-sysinstall/backend-query/detect-laptop.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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" |