mirror of
https://github.com/ivabus/speakersafetyd
synced 2024-11-14 04:15:06 +03:00
fixup! Implement flag file for optimistic cold boot state
This commit is contained in:
parent
f382ce7a5c
commit
c43b8b752b
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ struct Options {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn get_machine() -> String {
|
fn get_machine() -> String {
|
||||||
read_to_string("/proc/device-tree/compatible")
|
fs::read_to_string("/proc/device-tree/compatible")
|
||||||
.expect("Could not read device tree compatible")
|
.expect("Could not read device tree compatible")
|
||||||
.strip_prefix("apple,")
|
.strip_prefix("apple,")
|
||||||
.expect("Unexpected compatible format")
|
.expect("Unexpected compatible format")
|
||||||
|
|
Loading…
Reference in a new issue