Re: ifconfig/ ifupdown/ ip -
- Date: Mon, 9 Jul 2018 09:32:31 -0400
- From: Greg Wooledge <wooledg@xxxxxxxxxxx>
- Subject: Re: ifconfig/ ifupdown/ ip -
On Mon, Jul 09, 2018 at 11:20:20PM +1000, Zenaan Harkness wrote:
> configured to say office, I want to be able to run my reset bash
> script as follows:
> reset eth0=internet
I suggest you choose a different name, as reset(1) is already taken.
If your script is supposed to take two pieces of information, I would
suggest that you pass them as two separate arguments, rather than one
argument with '=' in the middle of it. That said, parsing foo=bar is
not terribly hard, so you *could* do it this way... but it's not the
way I would choose.