summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'init/ueventd.cpp')
-rw-r--r--init/ueventd.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/init/ueventd.cpp b/init/ueventd.cpp
index 680944546..b42a4c62a 100644
--- a/init/ueventd.cpp
+++ b/init/ueventd.cpp
@@ -240,7 +240,8 @@ int ueventd_main(int argc, char** argv) {
240 auto hardware = android::base::GetProperty("ro.hardware", ""); 240 auto hardware = android::base::GetProperty("ro.hardware", "");
241 241
242 auto ueventd_configuration = 242 auto ueventd_configuration =
243 ParseConfig({"/ueventd.rc", "/vendor/ueventd.rc", "/odm/ueventd.rc", hardware}); 243 ParseConfig({"/ueventd.rc", "/vendor/ueventd.rc", "/odm/ueventd.rc",
244 "/ueventd." + hardware + ".rc"});
244 245
245 device_handler = DeviceHandler{std::move(ueventd_configuration.dev_permissions), 246 device_handler = DeviceHandler{std::move(ueventd_configuration.dev_permissions),
246 std::move(ueventd_configuration.sysfs_permissions), 247 std::move(ueventd_configuration.sysfs_permissions),