summaryrefslogtreecommitdiff
path: root/base-files/base-files_3.0.14.oe
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2004-05-06 17:03:56 +0000
committerMichael Lauer <mickey@vanille-media.de>2004-05-06 17:03:56 +0000
commit8968124d51d926b6a94162bf2e5fb8ab14b19f35 (patch)
tree4e2d22b73281101470fbf813ba859bc020baf607 /base-files/base-files_3.0.14.oe
parent54c5940acb494502bd15f6a4adf98b730434502d (diff)
0505_base-files.patch
BKrev: 409a6ffc2UODRVs28cpK60PM8wI6YQ
Diffstat (limited to 'base-files/base-files_3.0.14.oe')
-rw-r--r--base-files/base-files_3.0.14.oe7
1 files changed, 1 insertions, 6 deletions
diff --git a/base-files/base-files_3.0.14.oe b/base-files/base-files_3.0.14.oe
index 9b01c43b7f..7364eed400 100644
--- a/base-files/base-files_3.0.14.oe
+++ b/base-files/base-files_3.0.14.oe
@@ -53,11 +53,6 @@ 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
- cat <<EOF >${D}/etc/init.d/populate-var
-#!/bin/sh
-
-mount /var
-EOF
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
@@ -65,7 +60,7 @@ EOF
done
rmdir ${D}/var/*
chmod a+x ${D}/etc/init.d/populate-var
- ln -s ../init.d/populate-var ${D}/etc/rcS.d/S01populate-var
+ ln -s ../init.d/populate-var ${D}/etc/rcS.d/S37populate-var
ln -s /var/run/resolv.conf ${D}/etc/resolv.conf
ln -s /var/run/ld.so.cache ${D}/etc/ld.so.cache
fi