Timeout command not available

I need execute a command and wait 2 minutes, and kill this command.

It seems that the timeout utils should be my choice, but not available on Duo.

image

I found this timeout routine should be packaged into busybox, but I can’t find it in buildroot sdk (duo-buildroot-sdk-Duo-V1.0.7)

I searched aroud the following keywords but found nothing useful.

BUSYBOX_CONFIG_TIMEOUT ENABLE_ASH_IDLE_TIMEOUT

Could anyone give me some insight? Thanks.

应该可以使用 SDK 编译一个然后 scp 上传到系统就可以使用

You should be able to use the SDK to compile one and then upload it to the system via scp and then you can use it.

Busybox does have cron so you could script it to get the time and set a cron job for 2 min.