diff options
author | Jan Wagner <mail@jwagner.eu> | 2016-03-25 21:58:11 +0100 |
---|---|---|
committer | Jan Wagner <mail@jwagner.eu> | 2016-03-25 21:58:11 +0100 |
commit | b33dfc51ccafb9172c0a29c0e4376f0db8b9e3f1 (patch) | |
tree | 918f5d661c091cdac6bd6bcc28f677d0993f4369 /bootstrap.d/50-firstboot.sh | |
parent | 50170a27d4119c047344793bb7aec685acb3ad6e (diff) | |
download | rpi2-gen-image-b33dfc51ccafb9172c0a29c0e4376f0db8b9e3f1.tar.gz rpi2-gen-image-b33dfc51ccafb9172c0a29c0e4376f0db8b9e3f1.tar.bz2 rpi2-gen-image-b33dfc51ccafb9172c0a29c0e4376f0db8b9e3f1.zip |
Added: ENABLE_CRYPTFS - encrypted rootfs, use-latest-bootloader, cp-cleanup
Diffstat (limited to 'bootstrap.d/50-firstboot.sh')
-rw-r--r-- | bootstrap.d/50-firstboot.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bootstrap.d/50-firstboot.sh b/bootstrap.d/50-firstboot.sh index 0c93d11..2ec9404 100644 --- a/bootstrap.d/50-firstboot.sh +++ b/bootstrap.d/50-firstboot.sh @@ -9,9 +9,8 @@ cat files/firstboot/10-begin.sh > "$R/etc/rc.firstboot" # Ensure openssh server host keys are regenerated on first boot -if [ "$ENABLE_SSHD" = true ] && [ "$ENABLE_REDUCE" = false ]; then +if [ "$ENABLE_SSHD" = true ] ; then cat files/firstboot/21-generate-ssh-keys.sh >> "$R/etc/rc.firstboot" - rm -f "$R/etc/ssh/ssh_host_*" fi # Prepare filesystem auto expand |