Fix cryptsetup additional arguments handling

Quoting used in script prevented them ot be properly passed.
Also added a debug mode to print some more messages about ongoing actions.
This commit is contained in:
Julien Coloos
2017-06-25 20:07:07 +02:00
parent e5ee05f382
commit d94d257cf6
4 changed files with 32 additions and 6 deletions

View File

@@ -16,6 +16,9 @@ The LUKS-encrypted devices to unlock are derived from `/etc/crypttab`.
Some options can be set in `/etc/initcpio/sshcs_env` (file is sourced in initrd shell):
* `sshcs_opt_debug`: whether to be more verbose about ongoing actions
- default: 0
- any non-zero value to enable
* `sshcs_opt_timeout_ipconfig`: time (in seconds) to configure IP
- default: 10 seconds
* `sshcs_opt_listen`: SSH listening port