diff options
author | Seblu <seblu@seblu.net> | 2011-02-11 01:48:03 +0100 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2011-02-27 11:48:48 +0100 |
commit | ee3385a97bef10fc20ed8c04e1b0dee0d5f0194c (patch) | |
tree | 87b79b97e25e708fe1c813a09b1b5d839b648361 /rc.sysinit | |
parent | 96d9cf3c924d27cef23967e9427c18c34395d532 (diff) |
Improve encrypted filesystem detection
Diffstat (limited to 'rc.sysinit')
-rwxr-xr-x | rc.sysinit | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -120,7 +120,7 @@ fi activate_vgs # Set up non-root encrypted partition mappings -if [[ -f /etc/crypttab && $CS && -n $(/bin/grep -v ^# /etc/crypttab | /bin/grep -v ^$) ]]; then +if [[ -f /etc/crypttab && -n $CS ]] && /bin/grep -q ^[^#] /etc/crypttab; then /sbin/modprobe -q dm-crypt 2>/dev/null stat_busy "Unlocking encrypted volumes:" do_unlock() { |