summaryrefslogtreecommitdiff
path: root/base-files
diff options
context:
space:
mode:
authorRene Wagner <rw@handhelds.org>2004-08-05 15:46:01 +0000
committerRene Wagner <rw@handhelds.org>2004-08-05 15:46:01 +0000
commit12abb999cbb5948076edfbf54ae36dab9e35c451 (patch)
tree76e151748a5faef47889f97cfc029fd63956c9e0 /base-files
parent62e8dfe20be3696ee16a1821cfda83c6e31ad33b (diff)
base-files_3.0.14.oe:
add missing #!/bin/sh to /etc/init.d/populate-var BKrev: 41125639ZLZkAtq_pQ9fcu7VS8syQg
Diffstat (limited to 'base-files')
-rw-r--r--base-files/base-files_3.0.14.oe1
1 files changed, 1 insertions, 0 deletions
diff --git a/base-files/base-files_3.0.14.oe b/base-files/base-files_3.0.14.oe
index 0660bf816d..a97dd1430c 100644
--- a/base-files/base-files_3.0.14.oe
+++ b/base-files/base-files_3.0.14.oe
@@ -101,6 +101,7 @@ do_install () {
if grep -q "^\(tmpfs\|ramfs\)\W\+/var" ${D}/etc/fstab; then
# /var is in a ramdisk
install -d ${D}/etc/init.d ${D}/etc/rcS.d
+ echo "#!/bin/sh" >> ${D}/etc/init.d/populate-var
for d in `(cd ${D}/var; ls)`; do
mode=`stat -c %a ${D}/var/$d`
echo "mkdir -p /var/$d" >> ${D}/etc/init.d/populate-var