2016-09-22 20:40:58 +02:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
2019-10-25 13:06:20 +02:00
|
|
|
# Copyright 2016-2019 Johannes Bauer <joe@johannes-bauer.com>
|
2016-09-22 20:40:58 +02:00
|
|
|
# Released under GPLv3
|
|
|
|
|
|
|
|
PREREQ="lvm2"
|
|
|
|
|
|
|
|
#
|
|
|
|
# Standard initramfs preamble
|
|
|
|
#
|
|
|
|
prereqs()
|
|
|
|
{
|
|
|
|
echo "$PREREQ"
|
|
|
|
}
|
|
|
|
|
|
|
|
case $1 in
|
|
|
|
prereqs)
|
|
|
|
prereqs
|
|
|
|
exit 0
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
2016-09-24 16:02:40 +02:00
|
|
|
. /scripts/functions
|
2016-09-24 11:50:41 +02:00
|
|
|
|
2019-10-25 13:06:20 +02:00
|
|
|
if [ ! -f /etc/luksrku-client.bin ]; then
|
2018-01-16 19:01:55 +01:00
|
|
|
exit 0
|
|
|
|
fi
|
|
|
|
|
|
|
|
configure_networking
|
2019-10-25 13:06:20 +02:00
|
|
|
/sbin/luksrku client -v /etc/luksrku-client.bin
|
2016-09-22 20:40:58 +02:00
|
|
|
|
|
|
|
exit 0
|