I would like to to have my firmware that run from boot, and I made a script that starts from rc5*… and use to redirect the output from the script to /dev/tty1, as the following:
…
case “$1” in
start)
echo “Starting fw_ec21_device_app”
/etc/init.d/./fw_ec21_device_app > /dev/tty1 2>&1 &
…
Everything works properly, but when the script runs, connecting with “tail -f /dev/tty1” shows the data until the /dev/tty1 freeze.
Looking the directory, it looks that tty1 is considered as a file
-rw-r–r-- 1 root root 61440 Jun 14 16:06 tty1
But it should not behave like regular files in terms of size limits…
Do you know how to solve it? Do you have idea where I can redirect the output?
I don’t want to keep the output to file, because after months it could reach memory limit.