u
This commit is contained in:
@@ -79,15 +79,15 @@ rshift() {
|
||||
|
||||
if [ ${cmd} == "info" ] ; then
|
||||
echo "{morning, day, evening, night, bedtime}"
|
||||
elif [ ${cmd} == "show" ] ||
|
||||
[ ${cmd} == "display" ]
|
||||
; then
|
||||
if [ -f "${temperature_file}" ] ; then
|
||||
temperature=$(cat /tmp/temperature.txt)
|
||||
else
|
||||
temperature=n/a
|
||||
fi
|
||||
echo "${temperature}K"
|
||||
# elif [ ${cmd} == "show" ] ||
|
||||
# [ ${cmd} == "display" ]
|
||||
# ; then
|
||||
# if [ -f "${temperature_file}" ] ; then
|
||||
# temperature=$(cat /tmp/temperature.txt)
|
||||
# else
|
||||
# temperature=n/a
|
||||
# fi
|
||||
# echo "${temperature}K"
|
||||
elif
|
||||
[ ${cmd} == "disable" ] ||
|
||||
[ ${cmd} == "off" ]
|
||||
|
||||
Reference in New Issue
Block a user