mirror of
https://github.com/ivabus/speakersafetyd
synced 2024-11-10 02:15:16 +03:00
fixup! Implement flag file for optimistic cold boot state
This commit is contained in:
parent
f382ce7a5c
commit
c43b8b752b
|
@ -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