X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=scripts.git;a=blobdiff_plain;f=luks_toolbox.sh;h=d3d6faa04aea740ed2ed3f3a04ffe4e5b7994add;hp=ac3f8e675c756b8ecad00f0b6fb0ed808ae8a05b;hb=c6edcdf61d8a5f050f6e0883721af60b0fad1d08;hpb=b0719544d007de898f71c628225db267884b02d7 diff --git a/luks_toolbox.sh b/luks_toolbox.sh index ac3f8e6..d3d6faa 100755 --- a/luks_toolbox.sh +++ b/luks_toolbox.sh @@ -43,7 +43,7 @@ mount|umount Automagically figures out from /etc/fstab what is the /dev/mapper/ device associated to the dir, and both LUKS-opens/mounts or - umount/LUKS-closes it. + umounts/LUKS-closes it. EOF } @@ -77,7 +77,7 @@ case $1 in umount ${line} done - \ls /dev/mapper | grep -v ^control$ | \ + ls /dev/mapper | grep -v ^control$ | \ while read line do echo "cryptsetup luksClose ${line[0]}"