mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Remove all .xml file generated from upgrade since it makes /var full
This commit is contained in:
parent
2e906a1a9b
commit
95cdee8774
@ -2110,6 +2110,7 @@ function upgrade_054_to_055() {
|
||||
/* Let's save the RRD graphs after we run enable RRD graphing */
|
||||
/* The function will restore the rrd.tgz so we will save it after */
|
||||
exec("cd /; LANG=C NO_REMOUNT=1 RRDDBPATH='{$rrddbpath}' CF_CONF_PATH='{$g['cf_conf_path']}' /etc/rc.backup_rrd.sh");
|
||||
exec("/bin/rm /var/db/rrd/*.xml);
|
||||
if ($g['booting'])
|
||||
echo "Updating configuration...";
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user