diff --git a/alpine-initramfs-dropbear/README.md b/alpine-initramfs-dropbear/README.md index 73bb05e..22abaa2 100644 --- a/alpine-initramfs-dropbear/README.md +++ b/alpine-initramfs-dropbear/README.md @@ -13,7 +13,7 @@ significant changes: * Add dropbear -* Add dropbear session timer, this make typical decryption still works even if dropbear/network is broken +* Add dropbear session timer, if timeout/cancel normal decryption prompt would appear. Please install `dropbear` before continuing @@ -24,20 +24,20 @@ Please install `dropbear` before continuing Note: if you're using Deeplerg/mk-f scripts before don't forget to change `unlock_disk` as i modified that one too. ### /etc/mkinitfs.conf -`features="ata base ide scsi usb virtio ext4 cryptsetup keymap dropbear network"` +```features="ata base ide scsi usb virtio ext4 cryptsetup keymap dropbear network"``` * features+= `dropbear` `network` ### /etc/update-extlinux.conf -`modules=sd-mod,usb-storage,ext4,ata_piix,virtio_net,e1000e,virtio_pci` +```modules=sd-mod,usb-storage,ext4,ata_piix,virtio_net,e1000e,virtio_pci``` * if network is not working (/sys/class/net/*/address not found etc.) try adding `e1000e` or `virtio_net` `virtio_pci` -`default_kernel_opts="cryptroot=UUID=xxx cryptdm=root quiet rootfstype=ext4 dropbear= ip=>"` +```default_kernel_opts="cryptroot=UUID=xxx cryptdm=root quiet rootfstype=ext4 dropbear= ip=>"``` * ip= can be both static and dhcp(if supported) `ip=:::::` `ip=dhcp` -`update-extlinux` +```update-extlinux``` -`mkinitfs -i path/to/initramfs-dropbear ` +```mkinitfs -i path/to/initramfs-dropbear ``` ## Full Diff: ```diff