Hi Folks,

Would like to how to store the response command of a run command


=>setenv addr  'ping 192.172.24.24'

=>setenv ping_resp 'run  addr'

Would to store the outcome of  "run addr" in into a variable and grep for
the characters or string in Uboot.

// Expecting the output as ping response string and parse the outcome with
grep !!
=> echo $ping_respone


-- 
Thanks,
Ajit
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to