mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
MFC 11518
Save the rrd databases to the config space on reboot.
This commit is contained in:
parent
23d5aa075f
commit
acdd8ddfac
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user