Blame ecryptfs-utils-75-nocryptdisks.patch
|
Michal Hlavinka |
c3bb6c |
diff -up ecryptfs-utils-79/src/utils/ecryptfs-setup-swap.nocryptdisks ecryptfs-utils-79/src/utils/ecryptfs-setup-swap
|
|
Michal Hlavinka |
c3bb6c |
--- ecryptfs-utils-79/src/utils/ecryptfs-setup-swap.nocryptdisks 2009-08-17 15:50:12.000000000 +0200
|
|
Michal Hlavinka |
c3bb6c |
+++ ecryptfs-utils-79/src/utils/ecryptfs-setup-swap 2009-08-18 08:46:44.734619290 +0200
|
|
Michal Hlavinka |
c3bb6c |
@@ -158,13 +158,5 @@ for swap in $swaps; do
|
|
Michal Hlavinka |
c3bb6c |
echo "/dev/mapper/cryptswap$i none swap sw 0 0" >> /etc/fstab
|
|
Michal Hlavinka |
c3bb6c |
done
|
|
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 |
c3bb6c |
info `gettext "Successfully setup encrypted swap!"`
|
|
Michal Hlavinka |
7beee0 |
+info "This will take effect after reboot"
|