Is there a standard way, if I have a script in /etc/modules.d/, to call it to remove the modules or to add the modules?  Is there a special script somewhere that does that?  I want to be able to remove, then re-add modules when some changes have occurred.  As of now, the best way I can think of is what I'd do with bash (I still need to learn the scripting language for the OpenWRT shell).  I'd read in the particular file in /etc/modules.d/ and step through each line and remove the module listed, then step through again and do a modprobe for that module.

Isn't there a script or command to do that automatically?

Thanks!