/ gouyen / etc / dropbear / initramfs / dropbear.conf
dropbear.conf
 1  #
 2  # Configuration options for the dropbear-initramfs boot scripts.
 3  # Variable assignment follow shell semantics and escaping/quoting rules.
 4  # You must run update-initramfs(8) to effect changes to this file (like
 5  # for other files in the '/etc/dropbear/initramfs' directory).
 6  
 7  #
 8  # Command line options to pass to dropbear(8)
 9  #
10  #DROPBEAR_OPTIONS=""
11  
12  #
13  # On local (non-NFS) mounts, interfaces matching this pattern are
14  # brought down before exiting the ramdisk to avoid dirty network
15  # configuration in the normal kernel.
16  # The special value 'none' keeps all interfaces up and preserves routing
17  # tables and addresses.
18  #
19  #IFDOWN="*"
20  
21  #
22  # On local (non-NFS) mounts, the network stack and dropbear are started
23  # asynchronously at init-premount stage.  This value specifies the
24  # maximum number of seconds to wait (while the network/dropbear are
25  # being configured) at init-bottom stage before terminating dropbear and
26  # bringing the network down.
27  # If the timeout is too short, and if the boot process is not blocking
28  # on user input supplied via SSHd (ie no remote unlocking), then the
29  # initrd might pivot to init(1) too early, thereby causing a race
30  # condition between network configuration from initramfs vs from the
31  # normal system.
32  #
33  #DROPBEAR_SHUTDOWN_TIMEOUT=60
34  
35  # Added by me
36  DROPBEAR_OPTIONS="-RFEsjk -p 2222 -c /usr/bin/cryptroot-unlock"
37