aboutsummaryrefslogtreecommitdiffstats
path: root/bootscripts/contrib/lsb-v3/init.d/cleanfs
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2011-04-19 21:31:18 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2011-04-19 21:31:18 +0000
commitd61a33f8678a5da9ea7e1b9c92fae9c8fb65fdcb (patch)
tree633f1b135ef8fc85d2a9ac81736c8b219b4d0c52 /bootscripts/contrib/lsb-v3/init.d/cleanfs
parent9f318ba306fa33ba0e626d6d3dc0bc24291ee2f0 (diff)
Update cleanfs bootscript to not clean /var/run or /var/lock because
they are now linked to a fresh tmpfs. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9511 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'bootscripts/contrib/lsb-v3/init.d/cleanfs')
-rw-r--r--bootscripts/contrib/lsb-v3/init.d/cleanfs6
1 files changed, 0 insertions, 6 deletions
diff --git a/bootscripts/contrib/lsb-v3/init.d/cleanfs b/bootscripts/contrib/lsb-v3/init.d/cleanfs
index 61a1fb512..96582c28c 100644
--- a/bootscripts/contrib/lsb-v3/init.d/cleanfs
+++ b/bootscripts/contrib/lsb-v3/init.d/cleanfs
@@ -80,12 +80,6 @@ case "${1}" in
find /tmp -xdev -mindepth 1 ! -name lost+found \
-delete || failed=1
- message="${message} /var/lock"
- find /var/lock -type f -exec rm -f {} \; || failed=1
-
- message="${message} /var/run${NORMAL}"
- find /var/run ! -type d ! -name utmp -exec rm -f {} \; || failed=1
-
> /var/run/utmp
if grep -q '^utmp:' /etc/group ; then
chmod 664 /var/run/utmp