index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | extra/nvmi-cli/nvme-cli.install | 8 |
diff --git a/extra/nvmi-cli/nvme-cli.install b/extra/nvmi-cli/nvme-cli.install new file mode 100644 index 00000000..6babfeb6 --- /dev/null +++ b/extra/nvmi-cli/nvme-cli.install @@ -0,0 +1,8 @@ +post_install(){ + if [ ! -f /etc/nvme/hostnqn ]; then + nvme gen-hostnqn > /etc/nvme/hostnqn + fi + if [ ! -f /etc/nvme/hostid ]; then + uuidgen > /etc/nvme/hostid + fi +} |