summaryrefslogtreecommitdiffstats
path: root/init/property_service.c
diff options
context:
space:
mode:
Diffstat (limited to 'init/property_service.c')
-rw-r--r--init/property_service.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/init/property_service.c b/init/property_service.c
index 18231e8..6733437 100644
--- a/init/property_service.c
+++ b/init/property_service.c
@@ -505,10 +505,11 @@ static void load_persistent_properties()
persistent_properties_loaded = 1;
}
-void property_init(void)
+void property_init(bool load_defaults)
{
init_property_area();
- load_properties_from_file(PROP_PATH_RAMDISK_DEFAULT);
+ if (load_defaults)
+ load_properties_from_file(PROP_PATH_RAMDISK_DEFAULT);
}
int properties_inited(void)