diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2022-06-07 19:50:11 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2022-06-07 19:50:11 +0300 |
commit | d056ab916d301e5f497075e0e235d274cb113b0a (patch) | |
tree | 17e3d864c8dfe2a359166356cf0c3c8af6a3fb9d | |
parent | fe79a7d84bce908873534af27c07712cf2974d8e (diff) |
write result to syslog instead of stdout
-rw-r--r-- | armbian-envtemp-cpufreq.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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." |