diff options
Diffstat (limited to 'etc/rc.shutdown')
-rwxr-xr-x | etc/rc.shutdown | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/rc.shutdown b/etc/rc.shutdown index 3585e74..1589204 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 |