summaryrefslogtreecommitdiffstats
path: root/etc/rc.reboot
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-04-17 21:05:38 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-04-17 21:05:38 +0000
commit83df670bdcd40db8c1180f7947e2957a2ed669f2 (patch)
treeda6ccee0296ebc183bbd6372594ac141f61f98a6 /etc/rc.reboot
parentf921cfbb3867ee9be684fbc35e509c9cd85bd28f (diff)
downloadpfsense-83df670bdcd40db8c1180f7947e2957a2ed669f2.zip
pfsense-83df670bdcd40db8c1180f7947e2957a2ed669f2.tar.gz
MFC 11521
Mount config area rw before tar and then ro after tar.
Diffstat (limited to 'etc/rc.reboot')
-rwxr-xr-xetc/rc.reboot2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/rc.reboot b/etc/rc.reboot
index 868851d..6088c5c 100755
--- a/etc/rc.reboot
+++ b/etc/rc.reboot
@@ -15,8 +15,10 @@ PLATFORM=`cat /etc/platform`
if [ "$PLATFORM" = "pfSense" ]; then
rm -rf /tmp/*
else
+ /etc/rc.conf_mount_rw
# Save the rrd databases to the config path.
tar -czf /cf/conf/rrd.tgz /var/db/rrd/*.rrd
+ /etc/rc.conf_mount_ro
fi
sleep 1
OpenPOWER on IntegriCloud