mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-30 12:32:37 +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
|
||||
if [ "${ACTION}" = "onboot" ] && [ "$CEC_WAKE" = true ]; then
|
||||
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
|
||||
fi
|
||||
elif [ "${ACTION}" = "onpoweroff" ] && [ "$CEC_ONPOWEROFF_STANDBY" = true ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user