summaryrefslogtreecommitdiffstats
path: root/dmi.c
diff options
context:
space:
mode:
Diffstat (limited to 'dmi.c')
-rw-r--r--dmi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/dmi.c b/dmi.c
index d9f307f..4bda4e7 100644
--- a/dmi.c
+++ b/dmi.c
@@ -102,7 +102,8 @@ void dmi_init(void)
}
chassis_type = get_dmi_string("chassis-type");
- if (chassis_type && !strcmp(chassis_type, "Notebook")) {
+ if (chassis_type && (!strcmp(chassis_type, "Notebook") ||
+ !strcmp(chassis_type, "Portable"))) {
printf_debug("Laptop detected via DMI\n");
is_laptop = 1;
}
OpenPOWER on IntegriCloud