diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2018-01-26 23:16:40 +0000 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2018-01-26 23:16:40 +0000 |
commit | 4d70287e53c29bbc36398db59d9647d866341192 (patch) | |
tree | 2e3a652832d186275d64bb6c7e57034a91e82810 /system/early-ssh/README.Slackware | |
parent | d1d463e693af5d499f26f0b15d2bccfcd8c2c93d (diff) |
system/early-ssh: Added (SSH server during boot).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/early-ssh/README.Slackware')
-rw-r--r-- | system/early-ssh/README.Slackware | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/system/early-ssh/README.Slackware b/system/early-ssh/README.Slackware new file mode 100644 index 0000000000000..b003dd9efc2b5 --- /dev/null +++ b/system/early-ssh/README.Slackware @@ -0,0 +1,18 @@ +You will need to adjust how you generate your initrd to include +early-ssh and to start it at the correct time. + +Example for LUKS + LVM as described in README_CRYPT.TXT: + +mkinitrd -c -k "$kernel" -f ext4 -r /dev/disk/by-uuid/<some uuid> \ + -m ext4:<more modules> -u -L -o /boot/initrd-"$kernel".gz \ + -C /dev/disk/by-uuid/<some other uuid> + -s /tmp/initrd-tree-"$kernel" + +# clear the luksdev so init does not try to unlock it itself +true > /tmp/initrd-tree-"$kernel"/luksdev +DESTDIR=/tmp/initrd-tree-"$kernel" /usr/share/mkinitrd/hooks/early_ssh +sed -i '/^[[:space:]]*if \[ -x \/sbin\/cryptsetup \]/i \ + \/early_ssh' /tmp/initrd-tree-"$kernel"/init + +mkinitrd -k "$kernel" -f ext4 -r /dev/disk/by-uuid/<some uuid> -u -L \ + -o /boot/initrd-"$kernel".gz -s /tmp/initrd-tree-"$kernel" |