ba46e5bb43
Unlocking entity is now the client, not the server anymore. Change filenames and syntax in initramfs scripts to reflect both.
33 lines
382 B
Bash
Executable File
33 lines
382 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# Copyright 2016-2019 Johannes Bauer <joe@johannes-bauer.com>
|
|
# Released under GPLv3
|
|
|
|
PREREQ="lvm2"
|
|
|
|
#
|
|
# Standard initramfs preamble
|
|
#
|
|
prereqs()
|
|
{
|
|
echo "$PREREQ"
|
|
}
|
|
|
|
case $1 in
|
|
prereqs)
|
|
prereqs
|
|
exit 0
|
|
;;
|
|
esac
|
|
|
|
. /scripts/functions
|
|
|
|
if [ ! -f /etc/luksrku-client.bin ]; then
|
|
exit 0
|
|
fi
|
|
|
|
configure_networking
|
|
/sbin/luksrku client -v /etc/luksrku-client.bin
|
|
|
|
exit 0
|