mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-02-06 18:41:19 +00:00
fix(cec-control): compare variable rather than variable name
This commit is contained in:
parent
b28fdd002b
commit
fb3d4f8f35
@ -13,7 +13,7 @@ CEC_ONSLEEP_STANDBY=${CEC_ONSLEEP_STANDBY:-false}
|
|||||||
# Run specified actions
|
# Run specified actions
|
||||||
if [ "${ACTION}" = "onboot" ] && [ "$CEC_WAKE" = true ]; then
|
if [ "${ACTION}" = "onboot" ] && [ "$CEC_WAKE" = true ]; then
|
||||||
echo "on $CEC_TVID" | cec-client -s -d 1
|
echo "on $CEC_TVID" | cec-client -s -d 1
|
||||||
if [ "CEC_SETSOURCE" = true ]; then
|
if [ "$CEC_SETSOURCE" = true ]; then
|
||||||
echo "as" | cec-client -s -d 1
|
echo "as" | cec-client -s -d 1
|
||||||
fi
|
fi
|
||||||
elif [ "${ACTION}" = "onpoweroff" ] && [ "$CEC_ONPOWEROFF_STANDBY" = true ]; then
|
elif [ "${ACTION}" = "onpoweroff" ] && [ "$CEC_ONPOWEROFF_STANDBY" = true ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user