summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rwxr-xr-xmeta/recipes-core/initscripts/initscripts-1.0/populate-volatile.sh2
1 files changed, 1 insertions, 1 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 6f965a6870..1c525b71bd 100755
--- a/meta/recipes-core/initscripts/initscripts-1.0/populate-volatile.sh
+++ b/meta/recipes-core/initscripts/initscripts-1.0/populate-volatile.sh
@@ -80,7 +80,7 @@ mk_dir() {
80link_file() { 80link_file() {
81 EXEC=" 81 EXEC="
82 if [ -L \"$2\" ]; then 82 if [ -L \"$2\" ]; then
83 [ \"\$(readlink -f \"$2\")\" != \"$1\" ] && { rm -f \"$2\"; ln -sf \"$1\" \"$2\"; }; 83 [ \"\$(readlink \"$2\")\" != \"$1\" ] && { rm -f \"$2\"; ln -sf \"$1\" \"$2\"; };
84 elif [ -d \"$2\" ]; then 84 elif [ -d \"$2\" ]; then
85 if awk '\$2 == \"$2\" {exit 1}' /proc/mounts; then 85 if awk '\$2 == \"$2\" {exit 1}' /proc/mounts; then
86 cp -a $2/* $1 2>/dev/null; 86 cp -a $2/* $1 2>/dev/null;