how to schedule service to run before network goes down

Hi

I wrote a new smf service and added it to the repository.

When running with "stop" (when the system goes down) it sends an alert to another machine.

My question is :

How can I schedule that service to run just before network services go down?

another question, how can I schedule another service to run just BEFORE system is getting down?

Many Thanks

--me2unix

[413 byte] By [me2unixa] at [2007-11-26 23:43:16]
# 1
That's what dependencies are for.-- Darren
Darren_Dunhama at 2007-7-11 15:13:06 > top of Java-index,General,Talk to the Sysop...