MFC 11518

Save the rrd databases to the config space on reboot.
This commit is contained in:
Scott Ullrich 2006-04-17 21:03:11 +00:00
parent 23d5aa075f
commit acdd8ddfac

View File

@ -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