linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* how to get called at shutdown
@ 2000-06-09  2:14 Tania Boak
  0 siblings, 0 replies; only message in thread
From: Tania Boak @ 2000-06-09  2:14 UTC (permalink / raw)
  To: linuxppc-embedded


Hi all

I have a function I want to have called once at shutdown.  Can anyone
tell me a good way to do that?

I tried register_reboot_notifier() but for some reason I don't yet
understand my notification handler does not get called unless I use
shutdown with the -n (bypass init) option.  I would like something that
works regardless of the command used to reboot or shutdown.

Thanks,
Tania


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-06-09  2:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-06-09  2:14 how to get called at shutdown Tania Boak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).