SVN: rc-scripts/trunk/rc.d/init.d/functions

glen glen at pld-linux.org
Tue Dec 5 18:32:51 CET 2006


Author: glen
Date: Tue Dec  5 18:32:48 2006
New Revision: 8072

Modified:
   rc-scripts/trunk/rc.d/init.d/functions
Log:
Store cachefile in /var, read/write errors are ignored anyway.

Modified: rc-scripts/trunk/rc.d/init.d/functions
==============================================================================
--- rc-scripts/trunk/rc.d/init.d/functions	(original)
+++ rc-scripts/trunk/rc.d/init.d/functions	Tue Dec  5 18:32:48 2006
@@ -897,8 +897,7 @@
 rc_cache_init() {
 	# If we have cachefile, use it.
 	# If we don't, create memory variables and try to save silently,
-	# We store cache in /etc, as /var isn't available at boot time.
-	local cachefile='/etc/rc.d/.rc-scripts.cache'
+	local cachefile='/var/cache/rc-scripts/msg.cache'
 
 	# We create $check variable which is used to invalidate the cache.
 	# The $check contains user locale and terminal.


More information about the pld-cvs-commit mailing list