Advertisement
ceterumcenseo

rebuild-kmod

Apr 5th, 2021
817
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.26 KB | None | 0 0
  1. # Script for rebuilding a Debian kernel module
  2.  
  3. # Make your changes in /usr/src/linux-source-*/
  4. # cd into the module directory
  5.  
  6. # this line rebuilds the kernel module for the kernel that is currently booted
  7. make -C /lib/modules/`uname -r`/build M=`pwd` modules
  8.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement