]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
Store cachefile in /var, read/write errors are ignored anyway.
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 5 Dec 2006 17:32:48 +0000 (17:32 +0000)
committerElan Ruusamäe <glen@pld-linux.org>
Tue, 5 Dec 2006 17:32:48 +0000 (17:32 +0000)
svn-id: @8072

rc.d/init.d/functions

index cbb5b0510fa8a8fbc45449f0c1c380364661db1c..e3192c7fb30a220707e02ed933a206b18eaaa600 100644 (file)
@@ -897,8 +897,7 @@ clean_vserver_mtab() {
 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.
This page took 0.049091 seconds and 4 git commands to generate.