2016-09-22 20:40:58 +02:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
|
|
|
# Copyright 2016 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
|
|
|
|
|
2016-09-24 16:02:40 +02:00
|
|
|
. /scripts/functions
|
|
|
|
configure_networking
|
2016-09-24 11:50:41 +02:00
|
|
|
|
2016-09-24 16:02:40 +02:00
|
|
|
#ETH_DEV="eno1"
|
|
|
|
#ETH_IP="192.168.1.29"
|
|
|
|
#ETH_NETMASK="255.255.255.0"
|
|
|
|
#/bin/ifconfig "$ETH_DEV" up "$ETH_IP" netmask "$ETH_NETMASK"
|
|
|
|
#/bin/ip route add default dev "$ETH_DEV"
|
2016-09-24 11:50:41 +02:00
|
|
|
/sbin/luksrku --server-mode -v -k /etc/luksrku-server.bin
|
2016-09-22 20:40:58 +02:00
|
|
|
|
|
|
|
exit 0
|