nvme-cli/nvmf-connect-nbft.sh

6 lines
113 B
Bash
Raw Normal View History

#!/bin/bash
if [[ "$1" == nbft* ]] && [[ "$2" == "up" ]]; then
systemctl start nvmf-connect-nbft.service
fi