#!/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 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 & bash /usr/local/bin/init.sh /etc/scripts/httpd.sh start sleep 5 udhcpc -i usb0 -n exit 0