diff options
author | jim-p <jimp@pfsense.org> | 2010-08-06 12:03:03 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2010-08-06 12:03:03 -0400 |
commit | ef68d19ce1ec4c6f23c6e350340ccb7e6a2448d7 (patch) | |
tree | bbd5fc2d8168b0e5f40605532a98366982ea4171 /etc/rc.shutdown | |
parent | 21934843352aa1dee730f59b06d35f1619c0ab3e (diff) | |
download | pfsense-ef68d19ce1ec4c6f23c6e350340ccb7e6a2448d7.zip pfsense-ef68d19ce1ec4c6f23c6e350340ccb7e6a2448d7.tar.gz |
Move the RRD backup code to a script.
Diffstat (limited to 'etc/rc.shutdown')
-rwxr-xr-x | etc/rc.shutdown | 5 |
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 |