~siretart/cryptsetup/debian

« back to all changes in this revision

Viewing changes to debian/scripts/cryptdisks_stop

  • Committer: Reinhard Tartler
  • Date: 2008-08-06 13:16:09 UTC
  • Revision ID: siretart@tauware.de-20080806131609-ynuo5fib2ndpkmg5
import cryptsetup_1.0.6-5.dsc

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
        exit 0
24
24
fi
25
25
 
 
26
log_action_begin_msg "Stopping crypto disk"
 
27
 
26
28
egrep -v "^[[:space:]]*(#|$)" "$TABFILE" | while read dst src key opts; do
27
29
        if [ "$1" = "$dst" ]; then
28
 
                handle_crypttab_line_stop "$dst" "$src" "$key" "$opts"
 
30
                handle_crypttab_line_stop "$dst" "$src" "$key" "$opts" <&3
29
31
                exit 0
30
32
        fi
31
 
done
 
33
done 3<&1
 
34
 
 
35
log_action_end_msg 0