changed grep command to work with busybox

Changed the grep command to work with busybox (used on openwrt and other embedded distros).