summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-06-24 21:03:36 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-06-24 21:03:55 -0400
commit4171fa680cbe9aedc55d5dc05d2d3b7e9b3cbc9c (patch)
tree836005034f0785cef0cdf6d4bc8ff6756ce44a16 /etc
parentf16f30cff8b9a3fac850bf2f24a5be6ad8a4ee30 (diff)
downloadpfsense-4171fa680cbe9aedc55d5dc05d2d3b7e9b3cbc9c.zip
pfsense-4171fa680cbe9aedc55d5dc05d2d3b7e9b3cbc9c.tar.gz
Zap config.cache after bootup
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/rc b/etc/rc
index e2375d9..cbe13cf 100755
--- a/etc/rc
+++ b/etc/rc
@@ -333,6 +333,9 @@ echo "Bootup complete"
/usr/local/bin/beep.sh start 2>&1 >/dev/null
+# Reset the cache. read-only requires this.
+rm /tmp/config.cache
+
/etc/rc.conf_mount_ro
exit 0
OpenPOWER on IntegriCloud