aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xshare/hydractl/provision5
1 files changed, 1 insertions, 4 deletions
diff --git a/share/hydractl/provision b/share/hydractl/provision
index 9ba88ce..291815d 100755
--- a/share/hydractl/provision
+++ b/share/hydractl/provision
@@ -646,10 +646,7 @@ EOF
#if [ -e "$WORK/etc/cryptsetup-initramfs/conf-hook" ]; then
# hydra_sudo_run sed -i -e 's/#CRYPTSETUP=/CRYPTSETUP=y/' $WORK/etc/cryptsetup-initramfs/conf-hook
#fi
-
- if [ -d "$WORK/etc/initramfs-tools/hooks.d" ]; then
- echo "CRYPTSETUP=y" > $WORK/etc/initramfs-tools/hooks.d/cryptsetup.conf
- fi
+ echo "CRYPTSETUP=y" > $WORK/etc/initramfs-tools/hooks/cryptsetup.conf
hydra_sudo_run chroot $WORK update-initramfs -u
else