1 |
untried: |
2 |
|
3 |
create another init.d script with an "after local.start" parameter - I |
4 |
think this works |
5 |
|
6 |
use a batch file to do the saving which includes a sleep command, then |
7 |
trigger it from local.start using nohup - this has worked for me in the |
8 |
past. |
9 |
|
10 |
Billk |
11 |
|
12 |
On Sun, 2007-07-15 at 17:49 -0700, felix@×××××××.com wrote: |
13 |
> I have been collecting bootchart info for each boot, curiousity and no |
14 |
> more. It is interesting sometimes to look at them and see if minor |
15 |
> tweaks can change things, but I have no serious use for the data. |
16 |
> Thus it took me a while to realize that the .png and .tgz files are |
17 |
> not generated until rc has finished the boot, which is after |
18 |
> local.start has run. I have code in local.start to save the current |
19 |
> bootchart.* files in a time-stamped dir for each boot, and they are |
20 |
> all off by one. It is more amusing than alarming. |
21 |
> |
22 |
> I understand why this happens. Is there any way to automatically run |
23 |
> a script like local.start but after rc finishes? I had thought of |
24 |
> putting something in local.stop to copy the current bootchart.* files, |
25 |
> but that smells a bit too kludgery. |
26 |
> |
27 |
> -- |
28 |
> ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._. |
29 |
> Felix Finch: scarecrow repairman & rocket surgeon / felix@×××××××.com |
30 |
> GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933 |
31 |
> I've found a solution to Fermat's Last Theorem but I see I've run out of room o |
32 |
-- |
33 |
gentoo-user@g.o mailing list |