#!/bin/zsh . /home/pks/bin/func.zsh check_root if [ "$#" -ne 2 ]; then echo "missing arg." exit fi umount $2 cryptsetup luksClose /dev/mapper/$1