diff --git a/board/fischertechnik/TXT/rootfs/sbin/reboot b/board/fischertechnik/TXT/rootfs/sbin/reboot index f7ece518e7..921d1e3fc7 100755 --- a/board/fischertechnik/TXT/rootfs/sbin/reboot +++ b/board/fischertechnik/TXT/rootfs/sbin/reboot @@ -4,5 +4,14 @@ if [ "$(whoami)" != "root" ]; then exit 1 fi /bin/launcher-msg "Rebooting..." -echo +15 > /sys/class/rtc/rtc1/wakealarm -exec /bin/busybox poweroff +case $(cat /rom/etc/sysversion) in + [0123].*|4.[0123].*|4.4.[012]*) + # normal reboot hangs on firmware versions < 4.4.3 + # workaround: set a short rtc wakeup timer and power off instead + echo +15 > /sys/class/rtc/rtc1/wakealarm + exec /bin/busybox poweroff + ;; + *) + exec /bin/busybox reboot + ;; +esac