I'd create a system.d service in /storage/.config/system.d to run the "route add" commands as systemd allows you to add dependencies to accurately sequence when things will occur, e.g. after network-online.target but before kodi.service (assuming the routes are needed for Kodi things).
Can you give me the correct ExecStart command in system.d, please ?
Thanks.