Migrating script from /etc/network/if-up.d

On Raspbmc, I have a script that runs when the ethernet connection comes up to start a VPN connection and configure per user routing.

Given the move to connman on OSMC, the script in if-up.d is no longer run. Is there a way to replicate if-up.d functionality in connman? There seems to be a complete lack of documentation for connman leaving me totally stuck.

Also, my script requires the use of ip rule, ip route etc. is it safe to apt-get install iproute manually without causing any conflicts with OSMC’s networking?

ifupdown has been added in RC3 which is due soon. This should resolve your issue.


Thanks for the info Sam.

Actually if you run updates on an existing system you should now get the ifupdown package installed automatically.