if your autostart.sh exits
[B]ls -al[/B] /storage/.config/auto*
[B]cat[/B] /storage/.config/autostart.sh
[B]echo[/B] "#!/bin/sh" [B]>[/B] /storage/.config/autostart.sh
If you want to attach something to an existing file you have to use >>
[B]echo[/B] "echo 0 > /sys/class/amhdmitx/amhdmitx0/cec_config" [B]>>[/B] /storage/.config/autostart.sh
[B]chmod[/B] 0777 /storage/.config/autostart.sh
Leave a comment: