1 |
# On 2002-12-08 at 13:17:33 +0100, |
2 |
# Stephan Hermann (sh@×××××××××.de) wrote: |
3 |
> |
4 |
> how can I easily find out which *inetd* system gentoo is using ? |
5 |
> |
6 |
> a "ps -elf|grep inetd " during an emerge is not nice. |
7 |
|
8 |
May I suggest using pgrep? Part of sys-apps/procps, so in the base system. |
9 |
|
10 |
pgrep inetd &> /dev/null |
11 |
# check exit status $? |
12 |
pgrep xinetd &> /dev/null |
13 |
# check ... |
14 |
|
15 |
This is only applicable if the internet daemons are running of course. |
16 |
|
17 |
hth, |
18 |
Gontran |
19 |
|
20 |
-- |
21 |
gentoo-dev@g.o mailing list |