Ioctl() function in lua without custom binaries

Hi,

Is there any way to get access to the ioctl() function in lua on standard packages?

I would like to create a lua script that runs on stock openwrt without needing custom binaries, but need to use the ioctl function and can not find any built in packages which seem to export this API function. Non-default packages are fine, as long as they are available as pre-compiled binaries on the majority of platroms.

Google only seems to come up with the syscall library, which isn't in standard openwrt package repos.

Thanks,
Mike

No, there is no universal solution for this. You will need custom code.