tape-admin: enable function mtx-status

Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
This commit is contained in:
2018-11-22 16:44:06 +01:00
parent 10d9c40182
commit e511c382ee

View File

@@ -1478,6 +1478,10 @@ parse_params () {
shift $count
cmd=mtx-load
;;
--mtx-status)
shift
cmd=mtx-status
;;
--mtx-transfer)
shift
slots=${*}
@@ -2262,6 +2266,10 @@ case $cmd in
mtx_load "${slot_source}" "${drive}"
return $?
;;
mtx-status)
mtx_status "${slot_source}" "${slot_target}"
return $?
;;
mtx-transfer)
mtx_transfer "${slot_source}" "${slot_target}"
return $?