correction bug montage
This commit is contained in:
parent
efe8de9c00
commit
4d82bfa68a
|
@ -12,7 +12,7 @@ fi
|
||||||
TARGET=$1
|
TARGET=$1
|
||||||
PASSWORDFILE=$2
|
PASSWORDFILE=$2
|
||||||
|
|
||||||
CLEAR_DIR="~/${TARGET}_clear"
|
CLEAR_DIR=~/${TARGET}_clear
|
||||||
|
|
||||||
umount $TARGET
|
umount $TARGET
|
||||||
rm -rf $CLEAR_DIR
|
rm -rf $CLEAR_DIR
|
||||||
|
|
|
@ -13,8 +13,8 @@ TARGET=$1
|
||||||
PASSWORDFILE=$2
|
PASSWORDFILE=$2
|
||||||
|
|
||||||
# Création des répertoires si nécessaire
|
# Création des répertoires si nécessaire
|
||||||
CLEAR_DIR="~/${TARGET}_clear"
|
CLEAR_DIR=~/${TARGET}_clear
|
||||||
mkdir -p "$CLEAR_DIR"
|
mkdir -p ${CLEAR_DIR}
|
||||||
|
|
||||||
gocryptfs $TARGET $CLEAR_DIR --passfile $PASSWORDFILE
|
gocryptfs $TARGET $CLEAR_DIR --passfile $PASSWORDFILE
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue