chore: Ignore cec errors in service

This commit is contained in:
Kyle Gospodnetich 2023-11-08 16:36:18 -08:00
parent dac5bf5cf3
commit 9a6f356ff3
4 changed files with 3 additions and 5 deletions

View File

@ -21,5 +21,3 @@ elif [ "${ACTION}" = "onpoweroff" ] && [ "$CEC_ONPOWEROFF_STANDBY" = true ]; the
elif [ "${ACTION}" = "onsleep" ] && [ "$CEC_ONSLEEP_STANDBY" = true ]; then
echo "standby $CEC_TVID" | cec-client -s -d 1
fi
exit 0

View File

@ -4,7 +4,7 @@ After=suspend.target hibernate.target hybrid-sleep.target suspend-then-hibernate
[Service]
Type=oneshot
ExecStart=/usr/bin/cec-control onboot
ExecStart=-/usr/bin/cec-control onboot
[Install]
WantedBy=multi-user.target suspend.target hibernate.target hybrid-sleep.target suspend-then-hibernate.target

View File

@ -5,7 +5,7 @@ Before=final.target
[Service]
Type=oneshot
ExecStart=/usr/bin/cec-control onpoweroff
ExecStart=-/usr/bin/cec-control onpoweroff
[Install]
WantedBy=poweroff.target

View File

@ -5,7 +5,7 @@ Before=final.target
[Service]
Type=oneshot
ExecStart=/usr/bin/cec-control onsleep
ExecStart=-/usr/bin/cec-control onsleep
[Install]
WantedBy=suspend.target hibernate.target hybrid-sleep.target suspend-then-hibernate.target