#!/bin/bash #Don't modify these lines of code #if [ -f "/root/restart_count.log" ];then # /bin/bash /usr/local/bin/test_reboot.sh #fi /etc/scripts/gpio_init.sh /etc/scripts/product_model.sh chmod 777 /dev/ttyS* # Create dummy video node for chromium V4L2 VDA/VEA with rkmpp plugin #echo dec > /dev/video-dec0 #echo enc > /dev/video-enc0 chmod 660 /dev/video-* #chown root:video /dev/video-* # The chromium using fixed pathes for libv4l2.so #ln -rsf /usr/lib/*/libv4l2.so /usr/lib/ #if [ -e /usr/lib/aarch64-linux-gnu/ ]; then # ln -Tsf lib /usr/lib64 #fi # bash /etc/init.d/rkwifibt.sh & sleep 5 /etc/scripts/play_ip /etc/scripts/watch.sh start > /dev/null 2>&1 & bash /usr/bin/init.sh # udhcpc -i usb0 -n /etc/scripts/system_led.sh & exit 0