From d61a33f8678a5da9ea7e1b9c92fae9c8fb65fdcb Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Tue, 19 Apr 2011 21:31:18 +0000 Subject: 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 --- bootscripts/contrib/lsb-v3/init.d/cleanfs | 6 ------ 1 file changed, 6 deletions(-) (limited to 'bootscripts/contrib/lsb-v3') 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 -- cgit v1.2.3-54-g00ecf