* [git.ipfire.org] IPFire 2.x development tree branch, next, updated. 7909dc2194718f7f929261cd33fba06f145fd856
@ 2025-01-30 11:53 Arne Fitzenreiter
0 siblings, 0 replies; only message in thread
From: Arne Fitzenreiter @ 2025-01-30 11:53 UTC (permalink / raw)
To: ipfire-scm
[-- Attachment #1: Type: text/plain, Size: 3332 bytes --]
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "IPFire 2.x development tree".
The branch, next has been updated
via 7909dc2194718f7f929261cd33fba06f145fd856 (commit)
from 23772010b193df17abfd5d250a8a7da165256475 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 7909dc2194718f7f929261cd33fba06f145fd856
Author: Arne Fitzenreiter <arne_f(a)ipfire.org>
Date: Thu Jan 30 12:52:51 2025 +0100
collectd: another fix at converting rrd databases
Signed-off-by: Arne Fitzenreiter <arne_f(a)ipfire.org>
-----------------------------------------------------------------------
Summary of changes:
config/backup/backup.pl | 8 ++++----
config/rootfiles/core/192/update.sh | 8 ++++----
2 files changed, 8 insertions(+), 8 deletions(-)
Difference in files:
diff --git a/config/backup/backup.pl b/config/backup/backup.pl
index c64d56aee..3c33608c5 100644
--- a/config/backup/backup.pl
+++ b/config/backup/backup.pl
@@ -272,11 +272,11 @@ restore_backup() {
mv -f /var/log/rrd/collectd/localhost/cpufreq/cpufreq-$i.rrd \
/var/log/rrd/collectd/localhost/cpufreq-$i/cpufreq.rrd
fi
- done
- if [ -e /var/log/rrd/collectd/localhost/thermal-thermal_zone*/temperature-temperature.rrd ]; then
- mv -f /var/log/rrd/collectd/localhost/thermal-thermal_zone*/temperature-temperature.rrd \
- /var/log/rrd/collectd/localhost/thermal-thermal_zone*/temperature.rrd
+ if [ -e /var/log/rrd/collectd/localhost/thermal-thermal_zone$i/temperature-temperature.rrd ]; then
+ mv -f /var/log/rrd/collectd/localhost/thermal-thermal_zone$i/temperature-temperature.rrd \
+ /var/log/rrd/collectd/localhost/thermal-thermal_zone$i/temperature.rrd
fi
+ done
# Create collectd 4.x to 5.x migration script from rrd contents, run the script that
# was created and then remove the old interface directory if it is present as it will
diff --git a/config/rootfiles/core/192/update.sh b/config/rootfiles/core/192/update.sh
index 858c27d2f..072a45dda 100644
--- a/config/rootfiles/core/192/update.sh
+++ b/config/rootfiles/core/192/update.sh
@@ -116,11 +116,11 @@ do
mv -f /var/log/rrd/collectd/localhost/cpufreq/cpufreq-$i.rrd \
/var/log/rrd/collectd/localhost/cpufreq-$i/cpufreq.rrd
fi
-done
-if [ -e /var/log/rrd/collectd/localhost/thermal-thermal_zone*/temperature-temperature.rrd ]; then
- mv -f /var/log/rrd/collectd/localhost/thermal-thermal_zone*/temperature-temperature.rrd \
- /var/log/rrd/collectd/localhost/thermal-thermal_zone*/temperature.rrd
+ if [ -e /var/log/rrd/collectd/localhost/thermal-thermal_zone$i/temperature-temperature.rrd ]; then
+ mv -f /var/log/rrd/collectd/localhost/thermal-thermal_zone$i/temperature-temperature.rrd \
+ /var/log/rrd/collectd/localhost/thermal-thermal_zone$i/temperature.rrd
fi
+done
/var/ipfire/collectd-migrate-4-to-5.pl --indir /var/log/rrd/ > /tmp/rrd-migrate.sh
sh /tmp/rrd-migrate.sh >/dev/null 2>&1
rm -rvf \
hooks/post-receive
--
IPFire 2.x development tree
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-01-30 11:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-30 11:53 [git.ipfire.org] IPFire 2.x development tree branch, next, updated. 7909dc2194718f7f929261cd33fba06f145fd856 Arne Fitzenreiter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox