SVN: rc-scripts/trunk/rc.d/rc.sysinit
glen
glen at pld-linux.org
Thu Apr 24 00:33:48 CEST 2008
Author: glen
Date: Thu Apr 24 00:33:48 2008
New Revision: 9721
Modified:
rc-scripts/trunk/rc.d/rc.sysinit
Log:
- leave note for future not to fall again
Modified: rc-scripts/trunk/rc.d/rc.sysinit
==============================================================================
--- rc-scripts/trunk/rc.d/rc.sysinit (original)
+++ rc-scripts/trunk/rc.d/rc.sysinit Thu Apr 24 00:33:48 2008
@@ -915,6 +915,7 @@
rm -f /fastboot /fsckoptions /forcefsck /halt /poweroff
# Clean up /var
+# /usr could be still not mounted if it is on NFS.
for afile in /var/lock/* /var/run/*; do
bafile=${afile##*/}
if [ -d "$afile" ]; then
@@ -929,6 +930,7 @@
[ "$bafile" != "hwprofile" ] && rm -f $afile 2> /dev/null
fi
done
+
# Delete stale files
rm -f /var/lib/rpm/__db* /var/spool/postoffice/.pid.* /tmp/.X*-lock \
/tmp/.lock.* /tmp/.gdm_socket /tmp/.s.PGSQL.*
@@ -1002,6 +1004,3 @@
fi
wait
echo
-
-# This must be last line !
-# vi:syntax=sh
More information about the pld-cvs-commit
mailing list