mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-03-15 22:21:45 +00:00
Merge pull request #1585 from jsnyder/correct-comparison-in-cec-control
fix(cec-control): compare variable rather than variable name
This commit is contained in:
commit
e8c2913a0e
@ -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