diff options
-rwxr-xr-x | meta/recipes-core/initscripts/initscripts-1.0/populate-volatile.sh | 6 | ||||
-rw-r--r-- | meta/recipes-core/initscripts/initscripts-1.0/volatiles | 6 |
2 files changed, 7 insertions, 5 deletions
diff --git a/meta/recipes-core/initscripts/initscripts-1.0/populate-volatile.sh b/meta/recipes-core/initscripts/initscripts-1.0/populate-volatile.sh index ce4622a5e5..91514bac86 100755 --- a/meta/recipes-core/initscripts/initscripts-1.0/populate-volatile.sh +++ b/meta/recipes-core/initscripts/initscripts-1.0/populate-volatile.sh | |||
@@ -150,9 +150,9 @@ apply_cfgfile() { | |||
150 | return 1 | 150 | return 1 |
151 | } | 151 | } |
152 | 152 | ||
153 | cat ${CFGFILE} | grep -v "^#" | \ | 153 | cat ${CFGFILE} | sed 's/#.*//' | \ |
154 | while read LINE; do | 154 | while read TTYPE TUSER TGROUP TMODE TNAME TLTARGET; do |
155 | eval `echo "$LINE" | sed -n "s/\(.*\)\ \(.*\) \(.*\)\ \(.*\)\ \(.*\)\ \(.*\)/TTYPE=\1 ; TUSER=\2; TGROUP=\3; TMODE=\4; TNAME=\5 TLTARGET=\6/p"` | 155 | test -z "${TLTARGET}" && continue |
156 | TNAME=${ROOT_DIR}${TNAME} | 156 | TNAME=${ROOT_DIR}${TNAME} |
157 | [ "${VERBOSE}" != "no" ] && echo "Checking for -${TNAME}-." | 157 | [ "${VERBOSE}" != "no" ] && echo "Checking for -${TNAME}-." |
158 | 158 | ||
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 @@ | |||
1 | # This configuration file lists filesystem objects that should get verified | 1 | # This configuration file lists filesystem objects that should get verified |
2 | # during startup and be created if missing. | 2 | # during startup and be created if missing. |
3 | # | 3 | # |
4 | # Every line must either be a comment starting with # | 4 | # Entries have the following format: |
5 | # or a definition of format: | ||
6 | # <type> <owner> <group> <mode> <path> <linksource> | 5 | # <type> <owner> <group> <mode> <path> <linksource> |
7 | # where the items are separated by whitespace ! | 6 | # where the items are separated by whitespace ! |
8 | # | 7 | # |
8 | # The # character introduces a comment lasting until end of line. | ||
9 | # Blank lines are ignored. | ||
10 | # | ||
9 | # <type> : d|f|l : (d)irectory|(f)ile|(l)ink | 11 | # <type> : d|f|l : (d)irectory|(f)ile|(l)ink |
10 | # | 12 | # |
11 | # A linking example: | 13 | # A linking example: |