On Tue, Jun 03, 2008 at 07:09:24AM -0400, James Carlson wrote: > Ceri Davies writes: > > On Mon, Jun 02, 2008 at 12:40:20PM -0400, James Carlson wrote: > > > Unfortunately, you also have to talk *to* the UPS to get there. It's > > > not all that simple to do as a kernel service. > > > > Can't svc.startd do this? There's already magic in the do_uadmin() > > function that calls /usr/sbin/killall, so it should be possible to hook > > in some magic there. > > Sure it can do that; the question is how _best_ to hook it in. UPS > support isn't a native part of the operating system itself, so it's > likely that this needs to have some sort of "plug-in" type of design. > One way I've been suggesting to do it is to have a (presumably unique) > "run me last on shutdown" service flag.
I'm completely with you. I'm suggesting that svc.startd is the best place to put the hook rather than the kernel. Ceri -- That must be wonderful! I don't understand it at all. -- Moliere -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/smf-discuss/attachments/20080603/728eb2d1/attachment.bin>