[brcm-2.4] preinit: use grep -q where applicable