~siretart/cryptsetup/debian

« back to all changes in this revision

Viewing changes to debian/scripts/cryptdisks_start

  • 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:
22
22
        exit 0
23
23
fi
24
24
 
 
25
log_action_begin_msg "Starting crypto disk"
 
26
mount_fs
 
27
 
25
28
egrep -v "^[[:space:]]*(#|$)" "$TABFILE" | while read dst src key opts; do
26
29
        if [ "$1" = "$dst" ]; then
27
 
                handle_crypttab_line_start "$dst" "$src" "$key" "$opts"
 
30
                handle_crypttab_line_start "$dst" "$src" "$key" "$opts" <&3
28
31
                exit 0
29
32
        fi
30
 
done
 
33
done 3<&1
 
34
 
 
35
umount_fs
 
36
log_action_end_msg 0