how to get called at shutdown
From: Tania Boak <hidden>
Date: 2000-06-09 02:14:15
From: Tania Boak <hidden>
Date: 2000-06-09 02:14:15
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/