On Wed, Jan 16, 2013 at 10:00 AM, Paul Eggleton <
[email protected]> wrote:

> +       if [ -e ${IMAGE_ROOTFS}${sbindir}/dropbear ] ; then
> +               if grep -q DROPBEAR_EXTRA_ARGS
> ${IMAGE_ROOTFS}${sysconfdir}/default/dropbear 2>/dev/null ; then
> +                       if ! grep -q "DROPBEAR_EXTRA_ARGS=.*-B"
> ${IMAGE_ROOTFS}${sysconfdir}/default/dropbear ; then
> +                               sed -i
> 's/^DROPBEAR_EXTRA_ARGS="*\([^"]*\)"*/DROPBEAR_EXTRA_ARGS="\1 -B"/'
> ${IMAGE_ROOTFS}${sysconfdir}/default/dropbear
> +                       fi
> +               else
> +                       printf '\nDROPBEAR_EXTRA_ARGS="-B"\n' >>
> ${IMAGE_ROOTFS}${sysconfdir}/default/dropbear
> +               fi



Looks good, thanks.
-- 
Christopher Larson
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to