1 |
On Wednesday 06 July 2005 09:55 am, Diego 'Flameeyes' Pettenò wrote: |
2 |
> On Wednesday 06 July 2005 15:36, Aron Griffis wrote: |
3 |
> > Diego: what is the content of doxinetd? |
4 |
> |
5 |
> Right now? It doesn't exists. |
6 |
> It was an idea. I think something like: |
7 |
> |
8 |
> doxinetd() { |
9 |
> if ! hasq xinetd ${IUSE} || use xinetd; |
10 |
> insinto /etc/xinetd.d #or whatever the dir is, not sure about it |
11 |
> doins $@ |
12 |
> fi |
13 |
> } |
14 |
> |
15 |
> that's just a quick mockup, sure. |
16 |
|
17 |
the hasq part is pointless and the insinto is bad form for a do* func |
18 |
|
19 |
doxinetd() { |
20 |
if use xinetd ; then |
21 |
INSDESTREE=/etc/xinetd.d doins "$@" |
22 |
else |
23 |
true |
24 |
fi |
25 |
} |
26 |
|
27 |
-- |
28 |
gentoo-dev@g.o mailing list |