]> gitweb.fluxo.info Git - hydra.git/commitdiff
Overwrite Private.mnt on ecryptfs-home
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 9 Jul 2013 20:40:51 +0000 (17:40 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 9 Jul 2013 20:40:51 +0000 (17:40 -0300)
share/hydractl/ecryptfs-home

index eb1db24c252c04a4461999c264b0bb3f90788fd7..4f5de7b5d346dfff13c80b208252c39967f8e592 100755 (executable)
@@ -81,7 +81,7 @@ rm -rf /mnt/crypt/home/$USER
 $sudo mkdir -p /mnt/crypt/home
 $sudo mv /home/$USER /mnt/crypt/home/$USER
 $sudo ln -s /mnt/crypt/home/$USER /home/$USER
-echo "/mnt/crypt/home/$USER" | $sudo tee -a /home/.ecryptfs/$USER/.ecryptfs/Private.mnt
+echo "/mnt/crypt/home/$USER" | $sudo tee /home/.ecryptfs/$USER/.ecryptfs/Private.mnt
 
 # Unwrap the passphrase once so the user can save it
 echo "Please save the unwrapped passphrase in a safe place:"