u
This commit is contained in:
@@ -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" ]
|
||||||
|
|||||||
Reference in New Issue
Block a user