diff --git a/README.md b/README.md index 9fce468..74fda31 100644 --- a/README.md +++ b/README.md @@ -4,10 +4,10 @@ Control HDMI-connected devices (TVs, receivers, etc.) from your Raspberry Pi 4 u ## Installation -1. Install the required CEC library: +1. Install the required CEC utilities: ```bash sudo apt-get update -sudo apt-get install libcec-rpi +sudo apt-get install cec-utils ``` 2. Make the script executable (already done): diff --git a/cec-control.sh b/cec-control.sh index c6a12eb..14e08fd 100755 --- a/cec-control.sh +++ b/cec-control.sh @@ -1,15 +1,15 @@ #!/bin/bash # CEC Control Script for Raspberry Pi 4 -# Requires: libcec (cec-client) -# Install with: sudo apt-get install libcec-rpi +# Requires: cec-utils +# Install with: sudo apt-get install cec-utils CEC_CLIENT="cec-client" # Check if cec-client is installed if ! command -v $CEC_CLIENT &> /dev/null; then echo "Error: cec-client not found" - echo "Install with: sudo apt-get install libcec-rpi" + echo "Install with: sudo apt-get install cec-utils" exit 1 fi