summaryrefslogtreecommitdiffstats
path: root/etc/rc.shutdown
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.shutdown
parent21934843352aa1dee730f59b06d35f1619c0ab3e (diff)
downloadpfsense-ef68d19ce1ec4c6f23c6e350340ccb7e6a2448d7.zip
pfsense-ef68d19ce1ec4c6f23c6e350340ccb7e6a2448d7.tar.gz
Move the RRD backup code to a script.
Diffstat (limited to 'etc/rc.shutdown')
-rwxr-xr-xetc/rc.shutdown5
1 files changed, 1 insertions, 4 deletions
diff --git a/etc/rc.shutdown b/etc/rc.shutdown
index f6175b4..7d4d32f 100755
--- a/etc/rc.shutdown
+++ b/etc/rc.shutdown
@@ -30,8 +30,5 @@ 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
OpenPOWER on IntegriCloud