diff options
Diffstat (limited to 'PCBSD/pc-sysinstall/backend-query/detect-laptop.sh')
-rwxr-xr-x | PCBSD/pc-sysinstall/backend-query/detect-laptop.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/PCBSD/pc-sysinstall/backend-query/detect-laptop.sh b/PCBSD/pc-sysinstall/backend-query/detect-laptop.sh new file mode 100755 index 0000000..bf42842 --- /dev/null +++ b/PCBSD/pc-sysinstall/backend-query/detect-laptop.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +dmesgLine=`dmesg | grep "acpi_acad0"` +if test "${dmesgLine}" = ""; then + echo "laptop: NO" +else + echo "laptop: YES" +fi |