nvme-cli/99-nvme-nbft-connect.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