1 |
Hi! |
2 |
|
3 |
On Sun, 05 Feb 2006, Jon Mitchell wrote: |
4 |
> How do you control the order that programs are shutdown in gentoo? |
5 |
|
6 |
Using the depend() subroutine in the init script. My |
7 |
/etc/init.d/iptables contains this: |
8 |
|
9 |
depend() { |
10 |
before net |
11 |
use logger |
12 |
} |
13 |
|
14 |
Which *should* make iptables start before net.* (maybe except |
15 |
net.lo). And sure enough, the boot sequence is: |
16 |
|
17 |
dns-domain |
18 |
net.lo |
19 |
random |
20 |
hdparm |
21 |
metalog |
22 |
acpid |
23 |
alsa |
24 |
gpm |
25 |
iptables |
26 |
net.eth0 |
27 |
portmap |
28 |
nfs |
29 |
sshd |
30 |
|
31 |
So I don't exactly saee the problem - I haven't tweaked any of the |
32 |
relevant scripts... |
33 |
|
34 |
Rgards, |
35 |
Tobias |
36 |
|
37 |
-- |
38 |
You don't need eyes to see, you need vision. |
39 |
-- |
40 |
gentoo-security@g.o mailing list |