Teltonika inbuilt speedtest

Currently I have a script that runs the speedtest command on my teltonika rutx12, the only problem is that after I run the command it prompts me with this:

This speedtest can use up a lot of internet data. Do you want to continue?(y/n)

Is there any way I can bypass this prompt with a flag or some other input?

The idea is to write the results to a file and then read the file later in the script


The simplest option would be to use the following command to launch the speedtest:

echo "y" | speedtest

This command will echo the letter y once the speed test is launched, thus bypassing the confirmation.

Best regards,

This topic was automatically closed after 15 days. New replies are no longer allowed.