From d056ab916d301e5f497075e0e235d274cb113b0a Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Tue, 7 Jun 2022 19:50:11 +0300 Subject: write result to syslog instead of stdout --- armbian-envtemp-cpufreq.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'armbian-envtemp-cpufreq.sh') diff --git a/armbian-envtemp-cpufreq.sh b/armbian-envtemp-cpufreq.sh index e46d3c2..a4513ba 100644 --- a/armbian-envtemp-cpufreq.sh +++ b/armbian-envtemp-cpufreq.sh @@ -104,4 +104,4 @@ while read temp; do done < <(for temp in ${!values[@]}; do echo $temp; done | sort -rn) echo -n "$freq" > /sys/devices/system/cpu/cpufreq/policy0/scaling_max_freq -echo "Environment temperature is $envtemp C, set max CPU frequency to $freq." +logger -t "$(basename "$PROGNAME")" "Environment temperature is $envtemp C, set max CPU frequency to $freq." -- cgit v1.2.3