This commit is contained in:
committer
2024-05-26 18:58:48 -05:00
parent db3e99bd0a
commit e8a6f4f0bc

View File

@@ -79,15 +79,15 @@ rshift() {
if [ ${cmd} == "info" ] ; then if [ ${cmd} == "info" ] ; then
echo "{morning, day, evening, night, bedtime}" echo "{morning, day, evening, night, bedtime}"
elif [ ${cmd} == "show" ] || # elif [ ${cmd} == "show" ] ||
[ ${cmd} == "display" ] # [ ${cmd} == "display" ]
; then # ; then
if [ -f "${temperature_file}" ] ; then # if [ -f "${temperature_file}" ] ; then
temperature=$(cat /tmp/temperature.txt) # temperature=$(cat /tmp/temperature.txt)
else # else
temperature=n/a # temperature=n/a
fi # fi
echo "${temperature}K" # echo "${temperature}K"
elif elif
[ ${cmd} == "disable" ] || [ ${cmd} == "disable" ] ||
[ ${cmd} == "off" ] [ ${cmd} == "off" ]