4
0
Fork 0

fixed default dropbear handling

This commit is contained in:
Benjamin Böhmke 2020-01-23 18:23:06 +00:00
parent 1d0f429508
commit b5bbe7c5b4
1 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@ ln -s /data/etc/dropbear/ ${ROOTFS_PATH}/etc/dropbear
mv ${ROOTFS_PATH}/etc/conf.d/dropbear ${ROOTFS_PATH}/etc/conf.d/dropbear_org
ln -s /data/etc/dropbear/dropbear.conf ${ROOTFS_PATH}/etc/conf.d/dropbear
if [ "$DEFAULT_DROPBEAR_ENABLED" = "true" ]; then
if [ "$DEFAULT_DROPBEAR_ENABLED" != "true" ]; then
echo 'DROPBEAR_OPTS="-p 127.0.0.1:22"' > ${ROOTFS_PATH}/etc/conf.d/dropbear_org
fi