Skip to content

Instantly share code, notes, and snippets.

@Disassembler0
Created August 30, 2018 15:06
Show Gist options
  • Save Disassembler0/b395cd74261f582ec9447714770f3435 to your computer and use it in GitHub Desktop.
Save Disassembler0/b395cd74261f582ec9447714770f3435 to your computer and use it in GitHub Desktop.
#!/bin/sh
# https://blogs.gnome.org/hughsie/2018/08/17/nvme-firmware-i-need-your-data/
dnf install nvme-cli
nvme id-ctrl --raw-binary /dev/nvme0 > /tmp/id-ctrl
curl \
-F type=nvme \
-F "machine_id="`cat /etc/machine-id` \
-F file=@/tmp/id-ctrl \
https://staging.fwupd.org/lvfs/upload_hwinfo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment