Created
March 27, 2012 14:30
-
-
Save petersondrew/2216423 to your computer and use it in GitHub Desktop.
Recompile RocketRaid drivers after kernel update
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#Automagically recompile rocketraid driver for new kernel | |
#Save this file in /etc/kernel/postinst.d/ | |
dir="/usr/src/rocketraid_driver/rr232x-linux-src-v1.10/product/rr232x/linux/" | |
make -C $dir install KERNELDIR=/lib/modules/$1/build/ | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment