From 7e469ce60cceb0fb7a0274ac78f47ec975fe2e3e Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Fri, 23 Feb 2018 09:24:36 -0800 Subject: [PATCH] Document property expansion. Bug: N/A Test: N/A Change-Id: I54b9d2d08d98d83060b54981b1c5dc9660b93e8f --- init/README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/init/README.md b/init/README.md index d7edf21ac..5c2352b9f 100644 --- a/init/README.md +++ b/init/README.md @@ -10,7 +10,11 @@ whitespace into a token. Double quotes may also be used to prevent whitespace from breaking text into multiple tokens. The backslash, when it is the last character on a line, may be used for line-folding. -Lines which start with a # (leading whitespace allowed) are comments. +Lines which start with a `#` (leading whitespace allowed) are comments. + +System properties can be expanded using the syntax +`${property.name}`. This also works in contexts where concatenation is +required, such as `import /init.recovery.${ro.hardware}.rc`. Actions and Services implicitly declare a new section. All commands or options belong to the section most recently declared. Commands