Skip to content
Snippets Groups Projects
Verified Commit 0fc77659 authored by David Beniamine's avatar David Beniamine
Browse files

Try to close luks volume before openning

parent 04acb353
Branches
No related tags found
No related merge requests found
Pipeline #234 failed
......@@ -304,6 +304,7 @@ do_log "démarrage le `date`"
if $luks
then
cryptsetup luksClose $luksname
echo $ENCPASS | cryptsetup luksOpen $dev $luksname
test_and_fail $? "Impossible de déchiffrer le disque, abandon"
/bin/mount -t auto /dev/mapper/$luksname $dest
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment