I am trying to write a shutdown script for my ancient NeXTStep 3.3 system. I need to first kill smbd and nmbd because it seems to cause the computer to hang if I don't kill -KILL them both first. Does anyone know where I can create a shutdown script, and could someone help me with figureing out how to write a script to automaticly find the process ID's of smbd and nmbd so that I can kill them first.