> In either case we'd be looking at an openvpn configuration > directive (or 2) that takes a command to run once > the link comes up (and down). If that was in place then > any of A, B, C, or D, or your choice of using an ifup/ifdown > script would all work.
BTW, there are generic tools to run/stop dhcp clients (and other configuration steps) when the interface goes up/down. I've used ifplugd for it, but IIUC there are others. I think if the user just starts the dhcp client on an interface independently from the moment the interface goes up (or down), this is simply a misconfiguration. > Given that. Why not just use -up and --down to do what's > needed? Avoid changing the code and write documentation. Sounds about right, Stefan