mirror of
https://github.com/ivabus/speakersafetyd
synced 2024-11-22 16:25: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 {
|
||||
read_to_string("/proc/device-tree/compatible")
|
||||
fs::read_to_string("/proc/device-tree/compatible")
|
||||
.expect("Could not read device tree compatible")
|
||||
.strip_prefix("apple,")
|
||||
.expect("Unexpected compatible format")
|
||||
|
|
Loading…
Reference in a new issue