diff options
-rw-r--r-- | etc/rc.d/gbde | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.d/gbde b/etc/rc.d/gbde index 06c090e..78d698f 100644 --- a/etc/rc.d/gbde +++ b/etc/rc.d/gbde @@ -82,7 +82,7 @@ gbde_start() parentdev=${device%.bde} parent=${parentdev#/dev/} eval "lock=\${gbde_lock_${parent}-\"${gbde_lockdir}/${parent}.lock\"}" - if [ ! -e "${device}" ]; then + if [ -e "/dev/${parent}" -a ! -e "${device}" ]; then echo "Configuring Disk Encryption for ${device}." count=1 |