diff options
author | delphij <delphij@FreeBSD.org> | 2012-08-22 22:17:35 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2012-08-22 22:17:35 +0000 |
commit | 57e31b3d63e044be91ca8d53665672979cde9cfe (patch) | |
tree | 424a05f0bc517cfd34bfe180b1b84005fc0af548 /etc/rc.d/geli2 | |
parent | 779be1a1c0a30e6d62e336158f21c272616317fe (diff) | |
download | FreeBSD-src-57e31b3d63e044be91ca8d53665672979cde9cfe.zip FreeBSD-src-57e31b3d63e044be91ca8d53665672979cde9cfe.tar.gz |
Allow - be used in the name of a provider. Without this change it's not
possible to specify a gptid in geli_devices.
Diffstat (limited to 'etc/rc.d/geli2')
-rwxr-xr-x | etc/rc.d/geli2 | 2 |
1 files changed, 1 insertions, 1 deletions
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 |