@@ -69,6 +69,12 if [ "$ENABLE_INITRAMFS" = true ] ; then | |||||
69 |
|
69 | |||
70 | # Get unlock script |
|
70 | # Get unlock script | |
71 | install_exec files/initramfs/crypt_unlock.sh "${ETC_DIR}"/initramfs-tools/hooks/crypt_unlock.sh |
|
71 | install_exec files/initramfs/crypt_unlock.sh "${ETC_DIR}"/initramfs-tools/hooks/crypt_unlock.sh | |
|
72 | ||||
|
73 | # Enable Dropbear inside initramfs | |||
|
74 | printf "#\n# DROPBEAR: [ y | n ]\n#\n\nDROPBEAR=y\n" >> "${ETC_DIR}/initramfs-tools/initramfs.conf" | |||
|
75 | ||||
|
76 | # Enable Dropbear inside initramfs | |||
|
77 | sed -i "54 i sleep 5" "${R}"/ust/share/initramfs-tools/scripts/init-premount/dropbear | |||
72 | fi |
|
78 | fi | |
73 | else |
|
79 | else | |
74 | # Disable SSHD inside initramfs |
|
80 | # Disable SSHD inside initramfs |
General Comments 0
Vous devez vous connecter pour laisser un commentaire.
Se connecter maintenant