diff options
-rw-r--r-- | meta/classes-recipe/rootfs-postcommands.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes-recipe/rootfs-postcommands.bbclass b/meta/classes-recipe/rootfs-postcommands.bbclass index 74601f0829..690fa976aa 100644 --- a/meta/classes-recipe/rootfs-postcommands.bbclass +++ b/meta/classes-recipe/rootfs-postcommands.bbclass | |||
@@ -204,6 +204,7 @@ ssh_allow_root_login () { | |||
204 | if [ -e ${IMAGE_ROOTFS}${sbindir}/dropbear ] ; then | 204 | if [ -e ${IMAGE_ROOTFS}${sbindir}/dropbear ] ; then |
205 | if grep -q DROPBEAR_EXTRA_ARGS ${IMAGE_ROOTFS}${sysconfdir}/default/dropbear 2>/dev/null ; then | 205 | if grep -q DROPBEAR_EXTRA_ARGS ${IMAGE_ROOTFS}${sysconfdir}/default/dropbear 2>/dev/null ; then |
206 | sed -i '/^DROPBEAR_EXTRA_ARGS=/ s/-w//' ${IMAGE_ROOTFS}${sysconfdir}/default/dropbear | 206 | sed -i '/^DROPBEAR_EXTRA_ARGS=/ s/-w//' ${IMAGE_ROOTFS}${sysconfdir}/default/dropbear |
207 | sed -i '/^# Disallow root/d' ${IMAGE_ROOTFS}${sysconfdir}/default/dropbear | ||
207 | fi | 208 | fi |
208 | fi | 209 | fi |
209 | } | 210 | } |