THis code should be changed at the widget to only copy the Version.1 to the TV:
Code: Select all
Replace this:
FilePlugind.Copy("$USB_DIR/sda1/usb_mount", "/mtd_rwarea"); //???????? ????? ? ?????? usb_hotplug.sh ?? ?????
FilePlugind.Copy("/sbin/usb_mount", "$USB_DIR/sda1/test"); //???????? ?????? /sbin/usb_mount ?? ?????? ? ????? test
FilePlugind.Copy("/sbin", "$USB_DIR/sda1/test"); //???????? ?????? /sbin ?? ?????? ? ????? test
FilePlugind.Copy("/mtd_rwarea", "$USB_DIR/sda1/test"); //???????? ?????? /mtd_rwarea ?? ?????? ? ????? test, ??? ???????? ?????? usb_hotplug.sh
with this:
FilePlugind.Copy("$USB_DIR/sda1/Version.1", "/mtd_rwarea");
Version.1 has to be at the root of the USB stick ...and has to contain the information of the previous FW version.
Should be working like this.
Regards