diff --git a/etc/rc.shutdown b/etc/rc.shutdown index 3585e74df3..158920446b 100755 --- a/etc/rc.shutdown +++ b/etc/rc.shutdown @@ -27,4 +27,7 @@ export PATH PLATFORM=`cat /etc/platform` if [ "$PLATFORM" = "pfSense" ]; then rm -rf /tmp/* +else + # Save the rrd databases to the config path. + tar -czf /cf/conf/rrd.tgz /var/db/rrd/*.rrd fi