Mine
public text v1 · immutableSetting up static routes
You can set up static routes for a specific interface that will be brought up after the interface is configured.
Simply add a config section like this:
config route foo
option interface lan
option target 1.1.1.0
option netmask 255.255.255.0
option gateway 192.168.1.1
The name for the route section is optional, the interface, target and gateway options are mandatory. Leaving out the netmask option will turn the route into a host route.