summaryrefslogtreecommitdiff
path: root/share/hydractl/ecryptfs-home
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-07-09 17:40:51 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-07-09 17:40:51 -0300
commit4dbc4294a0bc9b963bc79e4d5da08a26788f8adc (patch)
tree1139e63a33d41916d6911c92ab3ab017b7260822 /share/hydractl/ecryptfs-home
parent1a6243d65c7dd184ff7ebb1de38a05bdf55270b5 (diff)
downloadhydra-4dbc4294a0bc9b963bc79e4d5da08a26788f8adc.tar.gz
hydra-4dbc4294a0bc9b963bc79e4d5da08a26788f8adc.tar.bz2
Overwrite Private.mnt on ecryptfs-home
Diffstat (limited to 'share/hydractl/ecryptfs-home')
-rwxr-xr-xshare/hydractl/ecryptfs-home2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/hydractl/ecryptfs-home b/share/hydractl/ecryptfs-home
index eb1db24..4f5de7b 100755
--- a/share/hydractl/ecryptfs-home
+++ b/share/hydractl/ecryptfs-home
@@ -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:"