From 62b0cd7b17d4f6b55d1f20baefd1a64ea751ca67 Mon Sep 17 00:00:00 2001 From: Raymond Yip Date: Wed, 5 Jun 2024 17:11:44 -0400 Subject: [PATCH] Edit to fix incorrect comment in code --- usr/lib/tik/modules/pre/10-welcome | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/lib/tik/modules/pre/10-welcome b/usr/lib/tik/modules/pre/10-welcome index 8e5e9b7..697f4e5 100644 --- a/usr/lib/tik/modules/pre/10-welcome +++ b/usr/lib/tik/modules/pre/10-welcome @@ -16,7 +16,7 @@ displayACWarningMsg() { checkLaptop() { chassis=`cat /sys/class/dmi/id/chassis_type` #Test for respectively Handheld, Notebook, Laptop, and Portable - #if chassis variable does not match 8 9 10 or 11, which means it is not a mobile so exit function + #if chassis variable matches 8 9 10 or 11 function continues else it proceeds to test AC power and Battery [[ "$chassis" =~ ^(8|9|10|11)$ ]] || return #Tested machine is confirmed mobile #Check for AC power connection