summaryrefslogtreecommitdiffstats
path: root/etc/rc.reboot
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2010-08-06 12:03:03 -0400
committerjim-p <jimp@pfsense.org>2010-08-06 12:03:03 -0400
commitef68d19ce1ec4c6f23c6e350340ccb7e6a2448d7 (patch)
treebbd5fc2d8168b0e5f40605532a98366982ea4171 /etc/rc.reboot
parent21934843352aa1dee730f59b06d35f1619c0ab3e (diff)
downloadpfsense-ef68d19ce1ec4c6f23c6e350340ccb7e6a2448d7.zip
pfsense-ef68d19ce1ec4c6f23c6e350340ccb7e6a2448d7.tar.gz
Move the RRD backup code to a script.
Diffstat (limited to 'etc/rc.reboot')
-rwxr-xr-xetc/rc.reboot5
1 files changed, 1 insertions, 4 deletions
diff --git a/etc/rc.reboot b/etc/rc.reboot
index 66efae4..ff5a5fc 100755
--- a/etc/rc.reboot
+++ b/etc/rc.reboot
@@ -15,10 +15,7 @@ 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.
- cd / && tar -czf /cf/conf/rrd.tgz -C / var/db/rrd/*.rrd
- /etc/rc.conf_mount_ro
+ /etc/rc.backup_rrd.sh
fi
sleep 1
OpenPOWER on IntegriCloud