So, here is an example configuration I did manually.
My use case was,
1) I had my RUTX09 as a 4G wan router, that connects to another router via the WAN port via OSPF, I want the lan interface to have it's network advertised to the rest of the network, but no HELLO packets to be sent out the interface. I also want the default gateway to be advertised via OSPF (For multi-wan)
ospf router-id 0.0.0.x
default-information originate ! Advertise default route
network 172.16.x.x/24 area 0.0.0.0 ! wan
network 192.168.x.x/24 area 0.0.0.0 ! advertise network br-lan to other routers.
passive-interface br-lan ! Do not advertise on interface br-lan (Stops OSPF discovery on this interface)
Currently both of these are not configurable in the UI,
Also these would be good to have to distribute static routes.
Either these feature(s) implemented or to turn off the management of OSPF via the web gui and give an option to do it manually without the init.d scripts overwriting my changes, right now I've been manually editing the init script to not write a OSPF config leaving my own custom one untouched.