diff options
| author | Mans Rullgard <mans@mansr.com> | 2016-12-01 12:30:34 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-12-13 22:47:26 +0000 |
| commit | 415eaacb83b1c6df5210fb423e3e96e530b1dc42 (patch) | |
| tree | b76ce58425e959154b304a23d148fa9ee96175ef /meta/recipes-core/initscripts/initscripts-1.0/volatiles | |
| parent | 0b3e3415c51dd534d8fc585ea1e3916375ddcc66 (diff) | |
| download | openembedded-core-415eaacb83b1c6df5210fb423e3e96e530b1dc42.tar.gz openembedded-core-415eaacb83b1c6df5210fb423e3e96e530b1dc42.tar.bz2 openembedded-core-415eaacb83b1c6df5210fb423e3e96e530b1dc42.zip | |
initscripts: populate-volatile: improve config file parsing
This improves the config file parsing to permit blank lines and
comments following an entry or preceeded by whitespace.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-core/initscripts/initscripts-1.0/volatiles')
| -rw-r--r-- | meta/recipes-core/initscripts/initscripts-1.0/volatiles | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-core/initscripts/initscripts-1.0/volatiles b/meta/recipes-core/initscripts/initscripts-1.0/volatiles index 297245d0e4..bc17c4553d 100644 --- a/meta/recipes-core/initscripts/initscripts-1.0/volatiles +++ b/meta/recipes-core/initscripts/initscripts-1.0/volatiles @@ -1,11 +1,13 @@ # This configuration file lists filesystem objects that should get verified # during startup and be created if missing. # -# Every line must either be a comment starting with # -# or a definition of format: +# Entries have the following format: # <type> <owner> <group> <mode> <path> <linksource> # where the items are separated by whitespace ! # +# The # character introduces a comment lasting until end of line. +# Blank lines are ignored. +# # <type> : d|f|l : (d)irectory|(f)ile|(l)ink # # A linking example: |
