0016-set-rtc-from-display_gsm.patch 653 B

123456789101112131415161718192021222324252627
  1. diff --git a/UpdateRootfs.sh.in b/UpdateRootfs.sh.in
  2. index 3e4b29d..a891487 100644
  3. --- a/UpdateRootfs.sh.in
  4. +++ b/UpdateRootfs.sh.in
  5. @@ -90,6 +90,10 @@ tt=/bin/busybox
  6. echo -e "===\n \$tt\n"
  7. recurse "" \$tt
  8. +tt=/bin/sed
  9. +echo -e "===\n \$tt\n"
  10. +recurse "" \$tt
  11. +
  12. tt=/usr/sbin/fbset
  13. echo -e "===\n \$tt\n"
  14. recurse "" \$tt
  15. @@ -287,6 +291,11 @@ then
  16. rm -rf $GFA_PREFIX/etc/dhcp
  17. fi
  18. +if [ -e $GFA_PREFIX/var/GfA/Display_GSM.ini ]
  19. +then
  20. + sed -i 's/TSYNCCMD=rdate time.memod.de/TSYNCCMD=\/etc\/init.d\/S99rtc_GfA set/' $GFA_PREFIX/var/GfA/Display_GSM.ini
  21. +fi
  22. +
  23. #echo "Update Firmware"
  24. #echo "."
  25. #/root/spi_tivia /root/btm43_0107.bin >/dev/null