summaryrefslogtreecommitdiffstats
path: root/src/etc/pfSense-rc
diff options
context:
space:
mode:
authorNOYB <Al_Stu@Frontier.com>2016-10-09 21:55:32 -0700
committerNOYB <Al_Stu@Frontier.com>2017-01-08 19:14:16 -0800
commit029d6129c500a97952ab3b2473080c44974847de (patch)
tree98c391a2d323c6f051d4add0b9ad2407ceeb4465 /src/etc/pfSense-rc
parent0869605131ba3e5d7e502af7a799e54f27d2e7f6 (diff)
downloadpfsense-029d6129c500a97952ab3b2473080c44974847de.zip
pfsense-029d6129c500a97952ab3b2473080c44974847de.tar.gz
RAM Disk Management - Update II - Restore RAM Disk Soon as it is Created and Include Logs
Restoring the RAM disk as soon as it is available will make it easier to include additional content that needs to persist across reboots for packages etc. Include the logs in the RAM disk store so they will persist across reboots.
Diffstat (limited to 'src/etc/pfSense-rc')
-rwxr-xr-xsrc/etc/pfSense-rc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/etc/pfSense-rc b/src/etc/pfSense-rc
index 7658bf8..2bc0ab8 100755
--- a/src/etc/pfSense-rc
+++ b/src/etc/pfSense-rc
@@ -158,6 +158,9 @@ if [ -n "${MOVE_PKG_DATA}" -o "${USE_MFS_TMPVAR}" = "true" ]; then
ln -sf ../../root/var/cache/pkg /var/cache/pkg
fi
+# Restore contents of the RAM disk store
+/etc/rc.restore_ramdisk_store
+
# Make sure /home exists
[ -d /home ] \
|| mkdir /home
OpenPOWER on IntegriCloud