Skip to content

Commit

Permalink
Fix rM2 detection
Browse files Browse the repository at this point in the history
  • Loading branch information
Eeems committed Feb 4, 2024
1 parent 613e53b commit 982f592
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions shared/libblight_client/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1028,6 +1028,7 @@ extern "C" {
_DEBUG("Connected %d to blight on %d", pid, blightConnection->handle());
setenv("OXIDE_PRELOAD", std::to_string(getpgrp()).c_str(), true);

std::ios_base::Init i;
std::ifstream device_id_file{"/sys/devices/soc0/machine"};
std::string device_id;
std::getline(device_id_file, device_id);
Expand Down

0 comments on commit 982f592

Please sign in to comment.