hi m8s
Im new to scripting so give a break
i need to make script that enables/disables route
Script: ip route {print}{disable 0}
It should disable route0 but it doesn’t. When I do it from command line it disables it, but as soon as I enter it into script source window it fails me. What do I do wrong ?
For example
Script: ip route add dst-address=x.x.x.x/x gateway=x.x.x.x
Works fine for me both command line and script source window.
using 2.9.46