summarylogtreecommitdiffstats
path: root/openswap.install
diff options
context:
space:
mode:
Diffstat (limited to 'openswap.install')
-rw-r--r--openswap.install5
1 files changed, 3 insertions, 2 deletions
diff --git a/openswap.install b/openswap.install
index db04155fe4cc..95d59a3d6d32 100644
--- a/openswap.install
+++ b/openswap.install
@@ -4,7 +4,8 @@ build ()
grep "crypt_swap_name=" /etc/openswap.conf >> "$BUILDROOT/openswap.conf"
grep "keyfile_device=" /etc/openswap.conf >> "$BUILDROOT/openswap.conf"
grep "keyfile_filename=" /etc/openswap.conf >> "$BUILDROOT/openswap.conf"
- grep "miscellaneous=" /etc/openswap.conf >> "$BUILDROOT/openswap.conf"
+ grep "keyfile_device_mount_options=" /etc/openswap.conf >> "$BUILDROOT/openswap.conf"
+ grep "cryptsetup_options=" /etc/openswap.conf >> "$BUILDROOT/openswap.conf"
source "$BUILDROOT/openswap.conf"
@@ -23,4 +24,4 @@ help ()
cat<<HELPEOF
This hook opens a swap at boot time
HELPEOF
-} \ No newline at end of file
+}