summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/initscripts/initscripts-1.0/bootmisc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/initscripts/initscripts-1.0/bootmisc.sh')
-rwxr-xr-xmeta/recipes-core/initscripts/initscripts-1.0/bootmisc.sh9
1 files changed, 1 insertions, 8 deletions
diff --git a/meta/recipes-core/initscripts/initscripts-1.0/bootmisc.sh b/meta/recipes-core/initscripts/initscripts-1.0/bootmisc.sh
index 4f76cb4b28..3b5a47fcdd 100755
--- a/meta/recipes-core/initscripts/initscripts-1.0/bootmisc.sh
+++ b/meta/recipes-core/initscripts/initscripts-1.0/bootmisc.sh
@@ -54,14 +54,7 @@ fi
54 54
55# 55#
56# This is as good a place as any for a sanity check 56# This is as good a place as any for a sanity check
57# /tmp should be a symlink to /var/tmp to cut down on the number 57#
58# of mounted ramdisks.
59if test ! -L /tmp && test -d /var/tmp
60then
61 rm -rf /tmp
62 ln -sf /var/tmp /tmp
63fi
64
65# Set the system clock from hardware clock 58# Set the system clock from hardware clock
66# If the timestamp is more recent than the current time, 59# If the timestamp is more recent than the current time,
67# use the timestamp instead. 60# use the timestamp instead.