I would like to do some cleaning up before QNX shuts itself down, to clean
out some directories and shutdown some processes. Is there anyway I can set
up a script to be executed at shutdown or do I have to create a program that
is loaded and then waits for the appropriate signals to perform the desired
actions? If I do indeed have to create the program does any one have some
suggestions about how to do this, I have never done any signal processing.
Thanks in advance.
ps. by shutdown i am talking about when the computer is told to power down,
via the shutdown command.