Hello,

you are right when considering all possible command line options to be 
configurable.

When it comes only to setting a default interface, I'd opt for just checking an 
appropriate environment variable. This is much easier to implement.

Third option is to use shell aliasing like
etherwake='etherwake -i ens192'
and leave etherwake code as is.

@Pierre: If you're interested in a patch for the envvar-way, let me know.

:wq! PoC

PGP-Key: DDD3 4ABF 6413 38DE

Reply via email to