26.05.2023, 12:29
Try this:
You might also need to disable "Block unsafe functions in scripts" in Utilities > General configuration.
Code:
res = io.readproc('route add -net 192.168.101.0/24 gw 172.16.87.150 eth0 2>&1')
log(res)