cec: added a command to the interface to start the bootloader directly, without going...
[deb_libcec.git] / support / cec-flash-device.sh
index 93ee576e94b7d24384304267ec9cb608bb966beb..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