Blame ecryptfs-utils-75-nocryptdisks.patch

Michal Hlavinka 7beee0
=== modified file 'src/utils/ecryptfs-setup-swap'
Michal Hlavinka 7beee0
--- src/utils/ecryptfs-setup-swap	2009-03-20 21:44:01 +0000
Michal Hlavinka 7beee0
+++ src/utils/ecryptfs-setup-swap	2009-05-19 14:50:01 +0000
Michal Hlavinka 7beee0
@@ -158,13 +158,5 @@
Michal Hlavinka 7beee0
 # Add fstab entry
Michal Hlavinka 7beee0
 echo "/dev/mapper/cryptswap none swap sw 0 0" >> /etc/fstab
Michal Hlavinka 7beee0
 
Michal Hlavinka 7beee0
-# Turn swap off
Michal Hlavinka 7beee0
-swapoff -a
Michal Hlavinka 7beee0
-
Michal Hlavinka 7beee0
-# Restart cryptdisks
Michal Hlavinka 7beee0
-/etc/init.d/cryptdisks restart
Michal Hlavinka 7beee0
-
Michal Hlavinka 7beee0
-# Turn the swap on
Michal Hlavinka 7beee0
-swapon -a
Michal Hlavinka 7beee0
-
Michal Hlavinka 7beee0
 info "Successfully setup encrypted swap!"
Michal Hlavinka 7beee0
+info "This will take effect after reboot"
Michal Hlavinka 7beee0
\ No newline at end of file
Michal Hlavinka 7beee0