diff options
Diffstat (limited to 'etc/rc.d/gbde')
-rw-r--r-- | etc/rc.d/gbde | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/rc.d/gbde b/etc/rc.d/gbde index 8842d46..5071ab9 100644 --- a/etc/rc.d/gbde +++ b/etc/rc.d/gbde @@ -81,7 +81,8 @@ gbde_start() for device in $gbde_devices; do parent=${device%.bde} parent=${parent#/dev/} - eval "lock=\${gbde_lock_${parent}-\"${gbde_lockdir}/${parent}.lock\"}" + parent_=`echo ${parent} | sed "s/\//_/g"` + eval "lock=\${gbde_lock_${parent_}-\"${gbde_lockdir}/${parent_}.lock\"}" if [ -e "/dev/${parent}" -a ! -e "/dev/${parent}.bde" ]; then echo "Configuring Disk Encryption for ${parent}." |