Forwarding to the dev list. -------- Original-Nachricht -------- Betreff: Re: [PATCH] Implement a hook-system that allows to add custom code to the initscripts at certain places Datum: Thu, 27 Aug 2009 16:56:32 +0200 Von: Kurt J. Bosch <kujub@quantentunnel.de> An: Thomas Bächler <thomas@archlinux.org> CC: Public mailing list for ArchLinux development <arch-dev-public@archlinux.org> Referenzen: <4A93C509.7060505@archlinux.org> <4A955EAE.3040904@quantentunnel.de> <4A9561E1.4050108@archlinux.org> I noticed one problem: Fbsplash is unable now to show the SIGTERM message since the daemon restarter is forked before the stat_busy. [code] run_hook shutdown_prekillall # Terminate all processes stat_busy "Sending SIGTERM To Processes" [/code] To fix this please move the run_hook *behind* the stat_busy in rc.shutdown and rc.single: [code] # Terminate all processes stat_busy "Sending SIGTERM To Processes" run_hook shutdown_prekillall [/code] This would also improve consistency since in rc.sysinit there is already: [code] stat_busy "Mounting Local Filesystems" ... run_hook sysinit_premount [/code]