aboutsummaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-11-26 22:22:24 -0200
committerSilvio Rhatto <rhatto@riseup.net>2012-11-26 22:22:24 -0200
commit812aa0c79f5181ffc7dbd5b281814baa33705ca3 (patch)
treeb7ab106c0cc2e07485eb851c4aae7dcbe90260fa /files
parent44d7b22341f55680f1c96a39b17916f417807f3c (diff)
downloadpuppet-backup-812aa0c79f5181ffc7dbd5b281814baa33705ca3.tar.gz
puppet-backup-812aa0c79f5181ffc7dbd5b281814baa33705ca3.tar.bz2
Minor fix at mount-media
Diffstat (limited to 'files')
-rwxr-xr-xfiles/mount-media4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/mount-media b/files/mount-media
index a6ef5b6..c50352f 100755
--- a/files/mount-media
+++ b/files/mount-media
@@ -35,8 +35,8 @@ if [ "$BASENAME" == "mount-media" ]; then
$sudo cryptsetup luksOpen /dev/$VOLUME $MEDIA && \
echo "Checking filesystem..."
$sudo fsck -v -y /dev/mapper/$MEDIA && \
- echo "Mounting volume at $MOUNTPOINT"
- $sudo mount /dev/mapper/$MEDIA $MOUNTPOINT"
+ echo "Mounting volume at $MOUNTPOINT..."
+ $sudo mount /dev/mapper/$MEDIA $MOUNTPOINT
elif [ "$BASENAME" == "umount-media" ]; then
$sudo umount /media/usb && \
$sudo cryptsetup luksClose $MEDIA