Skip to content

Instantly share code, notes, and snippets.

@petersondrew
Created March 27, 2012 14:30
Show Gist options
  • Save petersondrew/2216423 to your computer and use it in GitHub Desktop.
Save petersondrew/2216423 to your computer and use it in GitHub Desktop.
Recompile RocketRaid drivers after kernel update
#!/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