1 |
On Tue, 2008-01-01 at 11:11 -0600, William Hubbs wrote: |
2 |
> On Tue, Jan 01, 2008 at 12:27:24PM +0000, Roy Marples wrote: |
3 |
> > Just make a standard init script for it with this dependency block |
4 |
> > |
5 |
> > depend() { |
6 |
> > before checkfs |
7 |
> > } |
8 |
> |
9 |
> Would it be safe to change this to before checkroot'? |
10 |
|
11 |
Some scripts do run before checkroot, such as clock. clock should be the |
12 |
first script started, so if you want it to go really early then |
13 |
|
14 |
depend() { |
15 |
before * |
16 |
after clock |
17 |
} |
18 |
|
19 |
would also work. Note that you have to put the dependencies in that |
20 |
order, and it only works with baselayout-2. |
21 |
|
22 |
If you wanted it to start before clock you'll need to do this |
23 |
|
24 |
depend() { |
25 |
before * |
26 |
} |
27 |
|
28 |
AND add this to /etc/conf.d/clock |
29 |
RC_AFTER=brltty |
30 |
|
31 |
Again, baselayout-2 only. |
32 |
|
33 |
Thanks |
34 |
|
35 |
Roy |
36 |
|
37 |
-- |
38 |
gentoo-dev@g.o mailing list |