Skip to content

Instantly share code, notes, and snippets.

@abelardojarab
Created December 20, 2017 17:49
Show Gist options
  • Select an option

  • Save abelardojarab/87cad4d24688b692a62b51120ca29e7e to your computer and use it in GitHub Desktop.

Select an option

Save abelardojarab/87cad4d24688b692a62b51120ca29e7e to your computer and use it in GitHub Desktop.
Command to rebuild all DKMS modules for all installed kernels
#!/bin/bash
ls /var/lib/initramfs-tools | \
sudo xargs -n1 /usr/lib/dkms/dkms_autoinstaller start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment