From f97de3537f5212d9ae2147e296fa82e8b493842b Mon Sep 17 00:00:00 2001 From: Ralf Dragon Date: Thu, 8 Dec 2022 17:00:08 +0100 Subject: [PATCH] speed up python loading --- board/fischertechnik/TXT/rootfs/etc/init.d/S90launcher | 2 ++ 1 file changed, 2 insertions(+) diff --git a/board/fischertechnik/TXT/rootfs/etc/init.d/S90launcher b/board/fischertechnik/TXT/rootfs/etc/init.d/S90launcher index 8e0ba0d46f..f44b7a3cf3 100755 --- a/board/fischertechnik/TXT/rootfs/etc/init.d/S90launcher +++ b/board/fischertechnik/TXT/rootfs/etc/init.d/S90launcher @@ -22,6 +22,8 @@ fi # ENABLE VNC AT YOUR OWN RISK by uncommenting the next line #export DISPLAY="multi: ${DISPLAY} VNC:0" +export PYTHONPYCACHEPREFIX=/home/ftc/.pycache + start() { printf "Starting $NAME: " start-stop-daemon --start -c ftc --background --make-pidfile --pidfile $PIDFILE \