Shutdownscript ?

Hi,

i need to run a script at shutdown like linux does it.

If nothing exists, what do you think about this:

  • rename (f.e.) the shutdown-file
  • write a script which does run a special script and then calls renamed
    shutdown file.

But how do i catch the shutdown from photon?
Does photon call a special script or file, or what?

Thanx for yout thoughts!

Greetings

CG

Hi,

Calling the bin util “shutdown” causes problems while photon is running.
In your script slay the photon server, io-graphics and devi-hirun, then exec
shutdown.

Regards,

Joe

“CG” <exai17@yahoo.de> wrote in message news:ahjh71$9g2$1@inn.qnx.com

Hi,

i need to run a script at shutdown like linux does it.

If nothing exists, what do you think about this:

  • rename (f.e.) the shutdown-file
  • write a script which does run a special script and then calls renamed
    shutdown file.

But how do i catch the shutdown from photon?
Does photon call a special script or file, or what?

Thanx for yout thoughts!

Greetings

CG