Merge branch 'master' into release
[deb_libcec.git] / support / cec-flash-device.sh
index 9443b9744542bc8a57ee953987550ce5225edb23..10715cb93c0b36213f861d55edaf07a912daa695 100755 (executable)
@@ -26,7 +26,7 @@ _enter_bootloader()
   echo "Instructing the CEC adapter to enter bootloader mode"
   cec_adapter=`lsusb  | grep "2548:1001" | wc -l`
   if [ $cec_adapter -gt 0 ]; then
-    echo "bl" | cec-client -s -d 2
+    echo "bl" | cec-client --bootloader
     echo "Waiting for the device to reinitialise"
     sleep 5
   fi
@@ -44,6 +44,7 @@ _flash()
   cat << EOB
 Flash '$file' onto the CEC adapter
 
+DISCONNECT THE HDMI CABLES BEFORE STARTING AND
 DO NOT POWER OFF OR DISCONNECT THE DEVICE WHILE THIS OPERATION IS IN PROGRESS!