summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc.d/geli2
-rwxr-xr-xetc/rc.d/geli22
2 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.d/geli b/etc/rc.d/geli
index 736b10a..8b867b3 100755
--- a/etc/rc.d/geli
+++ b/etc/rc.d/geli
@@ -53,7 +53,7 @@ geli_start()
fi
for provider in ${devices}; do
- provider_=`ltr ${provider} '/' '_'`
+ provider_=`ltr ${provider} '/-' '_'`
eval "flags=\${geli_${provider_}_flags}"
if [ -z "${flags}" ]; then
diff --git a/etc/rc.d/geli2 b/etc/rc.d/geli2
index 4726de0..76f44d8 100755
--- a/etc/rc.d/geli2
+++ b/etc/rc.d/geli2
@@ -42,7 +42,7 @@ geli2_start()
devices=`geli_make_list`
for provider in ${devices}; do
- provider_=`ltr ${provider} '/' '_'`
+ provider_=`ltr ${provider} '/-' '_'`
eval "autodetach=\${geli_${provider_}_autodetach}"
if [ -z "${autodetach}" ]; then
OpenPOWER on IntegriCloud