This commit is contained in:
committer
2024-05-26 19:08:06 -05:00
parent 4cfb601595
commit e5a4beb342

View File

@@ -83,10 +83,10 @@ rshift() {
[ ${cmd} == "display" ] ; then [ ${cmd} == "display" ] ; then
if [ -f "${temperature_file}" ] ; then if [ -f "${temperature_file}" ] ; then
temperature=$(cat /tmp/temperature.txt) temperature=$(cat /tmp/temperature.txt)
else
temperature=?
fi
echo "${temperature}K" echo "${temperature}K"
else
echo "unknown temperature value"
fi
return 1 return 1
elif elif
[ ${cmd} == "disable" ] || [ ${cmd} == "disable" ] ||