diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2020-05-12 12:28:27 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2020-05-12 12:28:27 -0300 |
commit | 8b030ec9db165007af0254978c96f742dccc2235 (patch) | |
tree | 26584353be44ae237aae2cbbb1ee96c603ffb683 /files/etc/initramfs-tools/hooks | |
parent | 7ae22f528408f1543c0e8cec7e7798c056f94a28 (diff) | |
download | puppet-nodo-8b030ec9db165007af0254978c96f742dccc2235.tar.gz puppet-nodo-8b030ec9db165007af0254978c96f742dccc2235.tar.bz2 |
Fix: weird initramfs bug
Diffstat (limited to 'files/etc/initramfs-tools/hooks')
-rwxr-xr-x | files/etc/initramfs-tools/hooks/fix-fixme | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/files/etc/initramfs-tools/hooks/fix-fixme b/files/etc/initramfs-tools/hooks/fix-fixme new file mode 100755 index 0000000..fbdbd3c --- /dev/null +++ b/files/etc/initramfs-tools/hooks/fix-fixme @@ -0,0 +1,17 @@ +#!/bin/sh +PREREQ="cryptroot" +prereqs() +{ + echo "$PREREQ" +} + +case $1 in + prereqs) + prereqs + exit 0 + ;; +esac + +. /usr/share/initramfs-tools/hook-functions +# Begin real processing below this line +sed -i -e "s|/FIXME-initramfs-rootmnt||g" $DESTDIR/cryptroot/crypttab |