[ipxe-devel] Push request : Adapt Ping command for scripting

cyr-ius cyr-ius at ipocus.net
Fri Oct 24 09:46:24 UTC 2014


 

Hi, 

It works very well
Thank you very much and good continuation 

Cédric. 

Le 23/10/2014 17:54, Michael Brown a écrit : 

> On 19/10/14 21:09, cyr-ius wrote:
> 
>> I added two new options to the ping command to allow the execution of the command from a script. the counter parameter indicates the number of response to show. If no argument then control the infinite loop the quiet parameter to hide messages on the screen setting. It is thus possible to script the ping command. example: ping -c 1 -q 10.1.1.1 && echo echo || Link UP DOWN link example : ping 1.1.1.1 (request infinite loop) ping -c 2 1.1.1.1 (request two ping echo) ping -c 2 -q 1.1.1.1 (no echo on display) Is it possible to add these changes to the original code ?
> 
> I've created a reworked version of your patch at
> 
> http://git.ipxe.org/people/mcb30/ipxe.git/shortlog/refs/heads/ping [1]
> 
> Please let me know if this works as expected for you.
> 
> Michael

 

Links:
------
[1] http://git.ipxe.org/people/mcb30/ipxe.git/shortlog/refs/heads/ping
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20141024/b5c85f45/attachment.htm>


More information about the ipxe-devel mailing list