[U-Boot] ping default behaviour

Ben Warren biggerbadderben at gmail.com
Fri Oct 23 16:23:51 CEST 2009


David,

On Fri, Oct 23, 2009 at 3:09 AM, David Collier
<from_denx_uboot at dexdyne.com>wrote:

> would it be reasonable for ping with no parameters to ping the serverip
> address if that's defined?
>
> No, that's not a good default behavior for everybody, for several reasons.
 The only one I'll mention here is that 'ping' is a ubiquitous utility that
everybody knows and changing its behavior would be confusing at best.

If you want to do something like this, use an environment variable like
(untested):

# setenv myping 'ping $serverip'


> David Collier
>
> www.dexdyne.com


regards,
Ben


More information about the U-Boot mailing list