grep in busybox do not support long optipn string, use short instead

This commit is contained in:
immarvin 2013-12-19 01:41:19 -08:00
parent 29fa3ff010
commit 5b2c27eb75

View File

@ -577,6 +577,6 @@ ResolveLinks
# foo
# If the resolv.conf is not setup in rootimg, copy the dhcp generated one into rootimg
if grep --quiet --no-messages "Dummy resolv.conf" "$MNTDIR/etc/resolv.conf"; then
if grep -q -s "Dummy resolv.conf" "$MNTDIR/etc/resolv.conf"; then
/bin/cat /etc/resolv.conf > $MNTDIR/etc/resolv.conf
fi