summaryrefslogtreecommitdiffstats
path: root/nvmf-autoconnect/udev-rules/70-nvmf-keys.rules.in
blob: 0b175be92c185eb8e0e80bd71ebb7dba2451d499 (plain)
1
2
3
4
5
6
7
#
# nvmf-keys.rules:
#   Load pre-shared keys into the kernel keyring when
#   the PSK keyring module gets loaded.
#
#
ACTION=="add", SUBSYSTEM=="module", KERNEL=="nvme_tcp", TEST=="@SYSCONFDIR@/tls-keys", RUN+="@SBINDIR@/nvme tls --import --keyfile @SYSCONFDIR@/tls-keys"