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 <[email protected]> An: Thomas Bächler <[email protected]>CC: Public mailing list for ArchLinux development <[email protected]> Referenzen: <[email protected]> <[email protected]> <[email protected]>
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]
signature.asc
Description: OpenPGP digital signature

