Alternative drive option
This commit is contained in:
parent
ff48df3dab
commit
548b5fc8b9
|
@ -80,7 +80,11 @@ do
|
||||||
;;
|
;;
|
||||||
-d|--drive)
|
-d|--drive)
|
||||||
shift
|
shift
|
||||||
|
if [[ "${1}" != '/dev/'* ]]; then
|
||||||
GPG_USB_DRIVE=/dev/${1}1
|
GPG_USB_DRIVE=/dev/${1}1
|
||||||
|
else
|
||||||
|
GPG_USB_DRIVE=${1}
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
# unknown option
|
# unknown option
|
||||||
|
|
Loading…
Reference in New Issue