i dont know location for system scripts to do this offhand, but what about a script you shutdown with manually?
create a text file, chmod to make it executable (chmod 777 scriptname), the contents say
rmmod "whatever"
shutdown now
create a shortcut to it on your desktop and just un it to shut down the computer.
