summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2014-07-30 00:28:40 +0200
committerErmal <eri@pfsense.org>2014-07-30 00:28:40 +0200
commit63dd9f085120c567bddde8123e3994f984b8f936 (patch)
tree9c11678fea6c36ddb478a04f929133b7b7fab103 /etc
parent9280a998704d182bc3a559163126e290edafbb26 (diff)
downloadpfsense-63dd9f085120c567bddde8123e3994f984b8f936.zip
pfsense-63dd9f085120c567bddde8123e3994f984b8f936.tar.gz
Remove even the config.cache from /tmp to avoid issues while here
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/config.lib.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/config.lib.inc b/etc/inc/config.lib.inc
index d186d97..8dd2918 100644
--- a/etc/inc/config.lib.inc
+++ b/etc/inc/config.lib.inc
@@ -591,6 +591,7 @@ function reset_factory_defaults($lock = false) {
}
}
closedir($dh);
+ unlink_if_exists($g['tmp_path'] . "/config.cache");
/* copy default configuration */
copy("{$g['conf_default_path']}/config.xml", "{$g['conf_path']}/config.xml");
OpenPOWER on IntegriCloud