On Thu, 2015-03-19 at 15:20 +0200, Jukka Rissanen wrote:
> > Do you think I should add a new command-line option to pass the
> > interface to ConnMan? Identifying the interface used for NFS
> > requires parsing /proc/cmdline and, in case of static addresses,
> > knowledge about the interfaces' IP address. Until now I preferred to
> > let the shell do it.
> 
> Sure, we can try adding new command line option for that. Although
> best thing would be to detect NFS link usage at run time inside
> ConnMan, but I agree it is easier to done in the shell.

I prefer implementing kernel command line option parsing and using any
interface, IP and configuration method information to create an
immutable service out of it. Should not be too hard to do.

The additional trick is not to take the interface down, neither at
startup where ConnMan clears up any previous configuration, nor release
anything DHCP related at shutdown.

Cheers,

        Patrik


_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman

Reply via email to