diff options
Diffstat (limited to 'meta/recipes-core')
-rwxr-xr-x | meta/recipes-core/initscripts/initscripts-1.0/populate-volatile.sh | 2 |
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 cf0d2bf966..22a71ecaae 100755 --- a/meta/recipes-core/initscripts/initscripts-1.0/populate-volatile.sh +++ b/meta/recipes-core/initscripts/initscripts-1.0/populate-volatile.sh | |||
@@ -70,7 +70,7 @@ mk_dir() { | |||
70 | link_file() { | 70 | link_file() { |
71 | EXEC=" | 71 | EXEC=" |
72 | if [ -L \"$2\" ]; then | 72 | if [ -L \"$2\" ]; then |
73 | [ \"\$(readlink -f \"$2\")\" != \"\$(readlink -f \"$1\")\" ] && { rm -f \"$2\"; ln -sf \"$1\" \"$2\"; }; | 73 | [ \"\$(readlink -f \"$2\")\" != \"$1\" ] && { rm -f \"$2\"; ln -sf \"$1\" \"$2\"; }; |
74 | elif [ -d \"$2\" ]; then | 74 | elif [ -d \"$2\" ]; then |
75 | if awk '\$2 == \"$2\" {exit 1}' /proc/mounts; then | 75 | if awk '\$2 == \"$2\" {exit 1}' /proc/mounts; then |
76 | cp -a $2/* $1 2>/dev/null; | 76 | cp -a $2/* $1 2>/dev/null; |