Re-install of TVmosaic and
export LANG=
in autostart.sh
have been the solutions !
Re-install of TVmosaic and
export LANG=
in autostart.sh
have been the solutions !
Still not running at reboot
There are no errors.
Now I tried this:
#!/bin/sh
export TVM_ROOT_DIR=/storage/tvmosaic
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${TVM_ROOT_DIR}/lib
export TVMOSAIC_ROOT_CONFIG_DIR=${TVM_ROOT_DIR}
${TVM_ROOT_DIR}/tvmosaic_server
but it only works manually. Not at reboot.
I recognized an error message at booting:
Failed to start Apply Kernel Variables
Maybe this depends on my problem?
echo $TVM_ROOT_DIR did not give me any result.
Here is the start2.sh script:
#!/bin/sh
. $(dirname $0)/incl
export LD_LIBRARY_PATH=${TVM_ROOT_DIR}/lib
export TVMOSAIC_ROOT_CONFIG_DIR=${TVM_ROOT_DIR}
${TVM_ROOT_DIR}/tvmosaic_server
My autostart.sh scrpt has only the both commans:
Both scripts have execute permission.
=> Again no luck.
Thanks Da Flex but again no luck. Still not executing at startup.
Thanks chewitt for your replay.
I tried this but it did not work, too.
When I execute the autostart.sh manually (by hand) then it works.
At the startup it doesn't work.
Hi,
I am using libreelec 9.2.1 and want to start TVmosaic automatically on startup. So I created autostart.sh with the following lines:
#!/bin/sh
(
sh /storage/tvmosaic/start2.sh
) &
If I run the autostart.sh manually it is working but when I reboot the Pi the start2.sh script will not executed. Generally the autostart.sh will be executed.
I tested it on creating a text file with autostart.
Has anybody an idea why the script will not execute on reboot?