how to get called at shutdown

Tania Boak tania at
Fri Jun 9 12:14:15 EST 2000

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.


** Sent via the linuxppc-embedded mail list. See

More information about the Linuxppc-embedded mailing list