Stuart Children (stuart@xxxxxxxxxxxxxx) said: > >Exactly... what needs to be done here is tagging of all the > >scripts/services > >that can be shut down cleanly, then some quick changes to /etc/rc should > >cut about half the time out of shutdown (based on some tests I ran ~10 > >months ago or so.) > > How about a "prepare-for-system-shutdown" [1] command to the rc scripts? > With the meaning of "save anything you need to 'cos the system's going > down shortly" rather than "i want you to exit all your processes right > now" (the 'stop' command). For most services this could just be a NOP. > Others could trivially call their 'stop' command, or do whatever subset > of that is necessary. > > [1] a more succient name should obviously be used. :) Actually, how > about 'save', and 'stop' could in general call that and then do its > killings? Breaks compatibility with third-party scripts. Bill