diff options
Diffstat (limited to 'base-files/base-files_3.0.14.oe')
-rw-r--r-- | base-files/base-files_3.0.14.oe | 7 |
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 |