This commit is contained in:
committer
2024-05-27 06:24:12 -05:00
parent 1902ee4385
commit 00ac288705

View File

@@ -80,7 +80,9 @@ rshift() {
if [ ${cmd} == "info" ] ; then if [ ${cmd} == "info" ] ; then
echo "{morning, day, evening, night, bedtime}" echo "{morning, day, evening, night, bedtime}"
return 1 return 1
elif [ ${cmd} == "show" ] || elif
[ ${cmd} == "status" ] ||
[ ${cmd} == "show" ] ||
[ ${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)