From: Michael Tremer Date: Tue, 30 Jan 2024 18:01:52 +0000 (+0000) Subject: collectd: Do not sync X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=500b6311b439dd480ca2fb715a6f1a05b33fcad5;p=people%2Fstevee%2Fipfire-2.x.git collectd: Do not sync Calling a global sync operation manually is generally a bad idea as it can block for forever. If people have storage that does not retain anything that is being written to it, they need to fix their hardware. Signed-off-by: Michael Tremer --- diff --git a/src/initscripts/system/collectd b/src/initscripts/system/collectd index bb8a2f54f..56b799d56 100644 --- a/src/initscripts/system/collectd +++ b/src/initscripts/system/collectd @@ -146,9 +146,6 @@ case "$1" in sed -i -e "s|^#LoadPlugin swap|LoadPlugin swap|g" /etc/collectd.conf fi - # sync after config update... - sync - if [ $(date +%Y) -gt 2011 ]; then boot_mesg "Starting Collection daemon..." /usr/sbin/collectd -C /etc/collectd.conf