2023-11-11 23:25:39 +00:00
|
|
|
# platform detection
|
|
|
|
|
|
|
|
If.cml {
|
|
|
|
Condition {
|
|
|
|
Type String
|
|
|
|
String1 "${sys:class/dmi/id/product_family}"
|
|
|
|
String2 "Google_Hatch"
|
|
|
|
}
|
2023-11-14 21:07:27 +00:00
|
|
|
True {
|
2023-11-11 23:25:39 +00:00
|
|
|
Define.cml y
|
|
|
|
Define.dmicpcm 1
|
2023-11-14 21:07:27 +00:00
|
|
|
}
|
2023-11-11 23:25:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
If.tgl {
|
|
|
|
Condition {
|
|
|
|
Type String
|
|
|
|
String1 "${sys:class/dmi/id/product_family}"
|
|
|
|
String2 "Google_Volteer"
|
|
|
|
}
|
2023-11-14 21:07:27 +00:00
|
|
|
True {
|
2023-11-11 23:25:39 +00:00
|
|
|
Define.tgl y
|
|
|
|
Define.dmicpcm 99
|
2023-11-14 21:07:27 +00:00
|
|
|
}
|
2023-11-11 23:25:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
If.jsl {
|
|
|
|
Condition {
|
|
|
|
Type String
|
|
|
|
String1 "${sys:class/dmi/id/product_family}"
|
|
|
|
String2 "Google_Dedede"
|
|
|
|
}
|
2023-11-14 21:07:27 +00:00
|
|
|
True {
|
2023-11-11 23:25:39 +00:00
|
|
|
Define.jsl y
|
|
|
|
Define.dmicpcm 5
|
2023-11-14 21:07:27 +00:00
|
|
|
}
|
2023-11-11 23:25:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
If.adl {
|
|
|
|
Condition {
|
|
|
|
Type RegexMatch
|
|
|
|
Regex "^Google_(Brya|Brask|Nissa)$"
|
|
|
|
String "${sys:class/dmi/id/product_family}"
|
|
|
|
}
|
2023-11-14 21:07:27 +00:00
|
|
|
True {
|
2023-11-11 23:25:39 +00:00
|
|
|
Define.adl y
|
|
|
|
Define.dmicpcm 99
|
2023-11-14 21:07:27 +00:00
|
|
|
}
|
2023-11-11 23:25:39 +00:00
|
|
|
}
|